Write java statements ending in a semi-colon to declare the


Write Java statements (ending in a semi-colon) to declare the following variables (plus objects when required). Assume that Student is a class that has been already defined.

(a) An int variable named count with an initial value of 137.

(b) A String variable named firstName with an initial value of "Jenny"

(c) A 1-D int array named iArray with a size of 5.

(d) A 1-D array called flightArray of type String with a size of 100.

(e) A Student object stored in a variable named john (use the default constructor).

Solution Preview :

Prepared by a verified Expert
Business Management: Write java statements ending in a semi-colon to declare the
Reference No:- TGS02560396

Now Priced at $10 (50% Discount)

Recommended (94%)

Rated (4.6/5)