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 / anil kumar rai
output:5080130
a b c
concat a,b,c because its consider its as a string which
assign integer value
| Is This Answer Correct ? | 21 Yes | 4 No |
Post New Answer View All Answers
Name some OOPS Concepts in Java?
What is jpa specification?
What is the difference between class forname and new?
How to restrict a member of a class from inheriting by its sub classes?
What is the core java?
when to use ArrayList and when to use HashMap in webApplication.
What is early binding and late binding in java?
What does pointer mean?
What is array length?
Can interface be private in java?
What is a parameter in simple terms?
Why java is platform independent? Explain.
Is java 9 released?
Can we declare the main method of our class as private?
What is meant by class loader? How many types are there?