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


Please Help Members By Posting Answers For Below Questions

Write a method to check if input string is palindrome?

662


Can I import same package/class twice?

583


Can an interface be defined inside a class?

603


Can a abstract class be defined without any abstract methods?

645


Why do we create public static method in java?

675






What are the differences between path and classpath variables?

605


What about method local inner classes or local inner classes in java?

666


Does constructor be static?

663


What is the benefit of inner classes in java?

718


Differentiate between == and equals().

680


What classes of exceptions may be caught by a catch clause in java programming?

795


What is the difference between call by reference and call by pointer?

594


What is the synonym of framework?

658


State differences between C and Java?

755


How to stop a thread in java? Explain about sleep () method in a thread?

683