Question 37 of 76 from exam 1Z0-808: Java SE 8 Programmer I

Question 37 of 76 from exam 1Z0-808: Java SE 8 Programmer I

Question

Given the code fragment:

public class Test {

static int count = 0
int i = 0;

public void changecount() {
while (i <5) {
itt
count++;

)

public static void main(string[] args) {
Test checkl = new Test ();
Test check2 = new Test ();
check1. changeCount ()
check2. changeCount ()
System. out.print (checkl.count + ": " + check2.count);

What is the result?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

A.