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 is prime number in java?
What are implicit objects in java?
What is local declaration?
How many bytes is a char in java?
How to create a thread in java?
Is arraylist ordered?
What is logical variable?
How will you serialize a singleton class without violating singleton pattern?
What is the use of hashmap in java?
What is default size of arraylist in java?
why are wait(), notify() and notifyall() methods defined in the object class? : Java thread
Explain the difference between an Interface and an Abstract class?
What are the parts of methodology?
Can we override the static methods?
What is join () in java?