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 / kiranksj
a is already defined in main so it throws an error
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are strings in physics?
What is linkedlist in java?
What do you mean by formatting?
For class CFoo { }; what default methods will the compiler generate for you>?
What is a key in java?
what state does a thread enter when it terminates its processing? : Java thread
What are the concepts of 'OOPS'?
Does java initialize arrays to zero?
Why java is call by value?
Can we make main() thread as daemon?
How do you replace all in word?
What are different types of multitasking?
What is a nested structure?
What are thread groups?
Is it possible for a yielded thread to get chance for its execution again?