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 { public void set(final int a) { a = a+10; System.out.println(a); } public static void main(String[] a) { (new A()).set(5); } } // what is the output ?
( A ) 15
( B ) Run time error
( C ) Compile time error
( D ) 5
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
...