What is the expected output of the following Java code? public static void…
PYQ DSSSB 2023
What is the expected output of the following Java code? public static void main(String[] args) { int a = 5; int b = 7; System.out.println("a&b = " + (a & b)); } }
- A.
a&b = 5
- B.
a&b = 7
- C.
a&b = 35
- D.
a&b = 2
Attempted by 1073 students.
Sign up free to check your answer
Sign up freeExplore the full course: Dsssb Tgt Computer Science Complete Course
Loading lesson…

