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
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 Correct Answer All are equal
All the statements are equal because inside an interface a variable declared will be public static final by default
মোঃ আরিফুল ইসলাম
Feb 20, 2025