int a=10,b=20,c=30 a= b+c;b=a+c;c=a+b;
System.out.println("The value is"+a+b+c;

Answer Posted / raja

This program is error.. Missing semicolon in variable
declaration... And the close Bracket of system.out.println
statement is missing...

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is array and arraylist in java?

535


What is a war file?

555


How objects are stored in java?

552


What is mvc in java?

560


What is hasnext in java?

582






Explain different types of wrapper classes in java?

603


Is there any difference between synchronized methods and synchronized statements?

586


How to call one constructor from the other constructor ?

611


Why is stringbuffer not immutable?

570


What is derived datatype?

631


What is join () in java?

534


What is the function of java?

517


What is a nested structure?

541


Why does the integer quotient -0/3 yield 0, but the double quotient -0.0/3.0 yields – 0.0?

615


What is a method in programming?

641