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
Write a program to solve producer consumer problem in java?
Is alive method in java?
Can the interface be final?
How do you check if an arraylist is not empty?
What is a method in coding?
Why java is said to be pass-by-value ?
What is the purpose of void?
When will you define a method as static?
Mention the default values of all the elements of an array defined as an instance variable.
What is compareto?
What is a “stateless” protocol ?
When we should use serialization?
Are strings immutable in java?
Is sizeof a keyword in java programming?
Explain the meaning of java applet.