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 / suresh
130
Is This Answer Correct ? | 1 Yes | 6 No |
Post New Answer View All Answers
Write a method to check if input string is palindrome?
Can I import same package/class twice?
Can an interface be defined inside a class?
Can a abstract class be defined without any abstract methods?
Why do we create public static method in java?
What are the differences between path and classpath variables?
What about method local inner classes or local inner classes in java?
Does constructor be static?
What is the benefit of inner classes in java?
Differentiate between == and equals().
What classes of exceptions may be caught by a catch clause in java programming?
What is the difference between call by reference and call by pointer?
What is the synonym of framework?
State differences between C and Java?
How to stop a thread in java? Explain about sleep () method in a thread?