int a=1,b=10;
System.out.println(a+b--);
Answers were Sorted based on User's Feedback
Answer / nagesh
answer is 110 because a+b print a+ and then +b so ans is 110 if u are print 11 the use (a+b)+ so the addition is performed
Is This Answer Correct ? | 2 Yes | 5 No |
What is bean? Where it can be used?
Explain about fail fast iterators in java?
How would overload a function based on return type?
If circular link of two objects, then will it be garbage collected ?
What do you mean by formatting?
What does percent mean in java?
What is the benefit of inner classes in java?
What are other modifiers?
what is difference between prepare stetement and callable starement with example?
What is mysql driver class name?
In Java list the methods that can be overridden?
How many types of memory areas are allocated by jvm?