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 the difference between jfc & wfc?
What are the different types of inheritance in java?
How is tree Mirroring implemented?
In Serialization, whether you will use Static variables?
Can you declare the main method as final?
what is the use of thread?Justify it by project point of view
How do listeners work?
How can we find the actual size of an object on the heap?
What is a dot notation?
What is the java project architecture?
What is pre increment and post increment in java?
Which are thin and thicK wrapper Class's in Java?