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 / selvan
it gives two error one is (; expected error ) second is ()
expected error).
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What's a method in programming?
What do you mean by hashing?
Explain 5 features introduced in jdk 1.7?
What are heap memory and stack memory and what are memory tables.
Can an integer be a string?
For class CFoo { }; what default methods will the compiler generate for you>?
Explain, java is compatible with all servers but not all browsers?
Does constructor creates the object ?
Is jdk required on each machine to run a java program?
What are different access specifiers in java?
What is java ceil?
Define linked list and its features with signature?
Give differences between Quicksort & Mergesort. When should these sorts be used and what is their running time?
How do you start a new line in java?
Why does java have two ways to create child threads? Which way is better?