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 purpose of format function?
What is a private class in java?
Describe different states of a thread.
What is lambda programming?
What is ide with example?
what is static import in java? Explain
What is the differnence between String Buffer and String builder despite having knowledge that String builder is faster than String Buffer and last one is threadsafe.please tell another important difference.
What are voids?
i need to know the website that i can compile and run a java code in online.(while system doesn't contain any jdk and jre)
What are the OOPS concepts in Java ?
What do you mean by static variable?
What is t type java?