Write a Java program to get the strings as input from the user and push them to an array. Find the shortest word in the list of strings and display the same on the screen.
Core Java – Daily Learning: A hands-on, daily-updated repository with practical Java programs on patterns, functions, arrays, OOP, and mini projects. Ideal for beginners and learners to practice, ...