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 are the characteristics of Final,Finally and Finalize keywords.
what is polymorphism with example?types of polymorphism?
what is servlet enginee?
List interface?
What are different data structures in java?
What is comparator in java?
What does sizeof return?
Why does it take so much time to access an applet having swing components the first time?
Can we compare two strings in java?
Write a program in java to establish a connection between client and server?
What is a Presistent Object?
0 Answers InfoAxon Technologies,
Can we override the static method?