AP Computer Science A Question of the Day

Test your knowledge with a hand-picked multiple-choice question.

a. public void draw() {
b. int i = 0;
c. while(i < 15){
d. system.out.println(i);
e. i++
f. }
g. }

Which lines of code have errors?

Select an answer and click Check.