Email
Chat with tutors
logo

Ask Questions, Get Answers

X
 
Answer
Comment
Share
Q)

class A { final int a; public A() { a = 10; System.out.println(a); } public static void main(String[] a) { new A(); } } // what is the output ?


( A ) 10
( B ) Compile time error
( C ) null
( D ) Run time error

1 Answer

Home Ask Tuition Questions
Your payment for is successful.
Continue
...