Sarah P.

asked • 08/08/20

What will be printed out on the console?

A.

int aa = 5;

aa = aa++;

System.out.println(aa);


B.

int[ ] aaa = {3, 7, 1, 4, 6, 2, 8};

int i = 1;

aaa[0] = aaa[i++ + ++i];

for(int k=0; k<i; k++) System.out.print(aaa[k] + " ");


C.

for(int i=0; i++<5; ){

System.out.print(i + " ");

}

1 Expert Answer

By:

Zachary A. answered • 08/08/20

Tutor
5 (26)

A passionate computer science tutor with industry experience!

Sarah P.

Thank You!
Report

08/08/20

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.