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 |
what is the purpose of the runtime class?
What is another word for methodology?
What is immutable in java?
Can we use switch statement with strings?
How do you ensure that n threads can access n resources without deadlock?
Garbage collection in java?
What is sortedset in java?
How to eliminate duplicates from an array?
6 Answers ABC, AdMod, Adobe, College School Exams Tests, Patni, Wipro,
What is exception propagation?
What is the best way to findout the time/memory consuming process?
What is data object example?
What is the difference between iterator and enumeration ?