Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions