Question: a . Write a statement that declares a String array initialized with the following strings Einstein, Netwon, Copernicus, and Kapler. b . Write a loop

a. Write a statement that declares a String array initialized with the following strings "Einstein", "Netwon", "Copernicus", and "Kapler".
b. Write a loop that displays the contents of each element in the array that you declared in Question 3(a).
c. Write code that displays the total length of all the strings in the array that you declared in Question 3(a).

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 Programming Questions!