Email
Chat with tutors
Login
Ask Questions, Get Answers
Menu
X
home
ask
tuition
questions
practice
papers
mobile
tutors
pricing
X
Questions
>>
Interviews
Next similar question
Answer
Comment
Share
Q)
class A { final int a; public void set() { a = 10; System.out.println(a); } public static void main(String[] a) { (new A()).set(); } } // what is the output ?
( A ) 10
( B ) null
( C ) Compile time error
( D ) Run time error
Share
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1 Answer
Found
1
answer. Click to login & view.
Next Similar Question >
Home
Ask
Tuition
Questions
Practice
Your payment for
is successful.
Continue
...