Menu

Select Statements Expressions Would Allow Java Program Display Length Array Infantage Defi Q43799616

Select all statements or expressions that would allow a Javaprogram to display the length of array Infant_Age, as defined asfollows: int Infant_Age[] = {1, 2, 3, 4}

(Check all that apply.)

a. System.out.print (Infant_Age.length)

b. len = Infant_Age.length; System.out.print(len);

c. for (int i=0; i<4; i++) {System.out.print (i)}

d. System.out.print (Infant_Age[4])

e. System.out.print (length.Infant_Age)

Expert Answer


Answer to Select all statements or expressions that would allow a Java program to display the length of array Infant_Age, as defin…

OR