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;
Answers were Sorted based on User's Feedback
Answer / manju
(I tried this pgm)
It will give compilation error(like insert ') ' )
if u insert that bracket and then run ,the answer will be
102030.(bcz its treated only as strings)
| Is This Answer Correct ? | 1 Yes | 2 No |
How many java versions are there?
Is node a data type in java?
What do you mean by constructor?
int a=1,b=10; System.out.println(a+b--);
Is java platform independent?
Explain a situation where finally block will not be executed?
Can a final variable be null?
What causes memory leak in java?
What about instanceof operator in java?
how to use finalize()Method to resources
What is stack explain?
how many types of Inheritance?