Multiple choice technology web technology

What is the output of following.

public static void main(String[]  args)  {
    int b=3;
    byte c=b/2;
    System.out.println("&c="+ &c);
}

  1. 1.5

  2. 1

  3. RuntimeException

  4. CompileTime Error

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

In Java, dividing two integers yields an integer (int). Assigning it to a byte without casting causes a compile-time error. Additionally, using & as a unary address operator is invalid syntax in Java and fails compilation.