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 |
Write the algorithm to check the number non-leaf nodes in a tree.
What does regex mean?
Is null a string or object in java?
what is optional in java 8?
Explain about the interpreter in java?
What are different types of access modifiers?
What does exp mean in math?
What is difference between path and classpath?
What is nullpointerexception in java?
Can we define package statement after import statement in java?
What does you mean in math?
What are the methods to rectify ambiguities in the interfaces in JAVA?