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
What happens to the Exception object after handling an exception?
Why are the destructors for base class and derived class called in reverse order when the program exits
What is the difference between the ">>" and " >>>" operators in java?
What do you mean by hashing?
What are the properties of thread?
What is an object’s lock and which object’s have locks?
Why for each loop is used?
Why wait(),notify(),notifyAll() methods defined in Object class althought we are using in only threads.
What is passed by reference and pass by value ?
Is singleton set an interval?
What are the super most classes for all the streams?
When is the finalize() called? What is the purpose of finalization?
We are seeing so many videos/audios as many web sited. But question is these videos or audios are stored in Databases ( Oracle, Mysql, Sybase,... ) or stored any file directory from there they will give the link for that? Pls explain and give sample code to achieve this one? Thanks, Seenu.
Differentiate between class and structure.
Explain method local inner classes ?