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
Why string objects are immutable in java?
What does regex mean?
What is the synonym of procedure?
Why charat is used in java?
What are different exception types exceptions available in java ?
What is the difference between inner class and nested class?
Garbage collection in java?
What is final keyword in java? Give an example.
What are streams in java 8?
What is meant by class and object in java?
Difference between final and effectively final ? Why is effectively final even required ?
What is Garbage Collection in Java
What is purpose of find feature?
What are 4 pillers of object orinted programming?
worst case complexities of Quick sort and Merge sort.