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

Answer Posted / amit

@Nagesh
if we have:(a+(b--));
answer:11

if : ((a+b)--);
answer: 11;

if :(a+b--);
answer:11;

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is use of functional interface in java 8? Explain

565


What are the java ide's? Explain

523


How is tree Mirroring implemented?

627


What are variable names?

526


Is java a software?

514






What is the difference between assignment and initialization?

556


Does java list allow null?

541


What is connection class in java?

508


What is javac_g?

590


Is java util regex pattern thread safe?

516


Does a function need a return?

531


How many ways can we create singleton class?

503


What does singleton mean in java?

508


How to change the priority of thread or how to set the priority of thread?

611


How does a for loop work java?

538