Question: Please write this in eclipse according to output. Question 1 You are asked to write a Java program that reads five Strings from the user
Please write this in eclipse according to output.
Question 1 You are asked to write a Java program that reads five Strings from the user and stores them into an array. You program must print the array elements which have more than four characters. Sample Outputs: Please enter the element 1: TED Please enter the element 2: University Please enter the element 3: Computer Please enter the element 4: Engineering Please enter the element 5: Department The elements longer than four: University Computer Engineering Department Please enter element 1: Hi! Please enter element 2: Tedu Please enter element 3: Edu Please enter element 4: Tr Please enter element 5: Welcome! The elements longer than four: Welcome
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
