int a=1,b=10;
System.out.println(a+b--);

Answer Posted / ramakrishna

Ans: 11

Is This Answer Correct ?    10 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is use of a abstract variable?

543


When will you define a method as static in Java?

574


What is use of functional interface in java 8? Explain

567


What does main method?

566


Is java 1.7 the same as java 7?

537






Explain about narrowing conversion in java?

570


What do you mean by object?

552


What is the difference between serializable and externalizable interfaces?

569


What is the difference between member variables initialization and assignment in a constructor?

665


Can you access the private method from outside the class?

512


Why is static used?

553


What is the effect of keeping a constructor private?

473


Which method returns the length of a string?

571


Explain the difference between abstraction and encapsulation.

537


What is difference between final and finally in java?

586