Limited access

Upgrade to access all content for this subject

Consider the following method:

public static void doMath()
{
    int x = 6/3;
    int y = 8/3;
    int z = x*3+y*3;
    System.out.println(z);
}

What is the output when doMath() is called?

A

11

B

12

C

13

D

14

E

15

Select an assignment template