Which of the following statements are equal for a variable declared in the interface ? 1. int X=10 2. public int X=10 3. public static final int X=10

A) Only 1 and 2 are equal

B) Only 2 and 3 are equal

C) All are unequal

D) All are equal

View Answer
Option – D.

More Questions

error: Content is protected !!