Question: you are to write a java program that takes in 4 strings. You are to pass these strings to four methods Method 1 will make

you are to write a java program that takes in 4 strings. You are to pass these strings to four methods

Method 1 will make the values uppercase

Method 2 will make the values lowercase

Method 3 will find the length of the four strings Using a for loop, display the length of each string.

Method 4 will compare any two strings, if they are equal display a statement, same as if they are not.

Use your own print line magic.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!