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 |
When should the method invokelater() be used?
What is a byte array?
Why webdriver is an interface?
What is a numeric digit?
Why Do I Get A "permission Denied" Error After Downloading The .jnlp Java Launcher For The Vkvm?
Explain why wait(), notify() and notifyall() methods are in object class rather than in thread class?
Hai all I want to print given array in reverse order Ex: int a[]={1,2,3,4,5};display this array in reverse order.
what Data encapsulation in java?
What are the steps to do connection pooling in weblogic?
How to set the permissions to a file in java?
Can we override tostring method in java?
why ,we are using jsp and html.which one is better?