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 is java multithreaded?
What design pattern you have used in your project? I answered Factory pattern, how it is implemented? What are its advantage? Do know about Abstract Factory?
Can we have more than one package statement in the source file?
How do you download stubs from Remote place?
What is a concrete classes? Is Java object class is concrete class?
What is the difference between member variables initialization and assignment in a constructor?
Which collection is best for sorting in java?
how to know the total memory occupied by the objects in the ArrayList(Array list may contain duplicate objects)
What are the different types of constructor?
Explain about core java?
What are the advantages of java over cpp?
How do you do a line break in java?
What is difference between == and === in js?
how its run?
What is a arraylist in java?