Java Programming Language MCQ Declaration and Access Control in Java
⚠ Report ✓ Question Verified Copy Link
class MyClass{ static final int a = 20; static final void call(){ System.out.println("two"); } static{ System.out.println("one"); } } public class Test{ public static void main(String args[]){ System.out.println(MyClass.a); } }
Learn More MCQ Questions from Java Programming Language MCQ Declaration and Access Control in Java