Answer:
System.out.println(monthSales[9]);
Explanation:
Since the array is called monthSales of type int and represents the months January - December, Its declaration in Java will be as follows:
int [] monthSales = new int[12];
This array contains 12 elements and it is indexed from 0-11 (i.e 0 for january and 11 for December)
The element corresponding to October which is the tenth month is at index 9
Hence the output statement System.out.println(monthSales[9]);
Answer:
b) I, II, III
Explanation:
Since the two components are added to the 'east' and 'west', and the JPanel has a BorderLayout manager, then North, South and Center parts of the JPanel will appear.
It is
Select an appropriate layout
Decide which current format...
Import or compose...
Proofread...
Check the print preview..