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 is a class component?
What data structures are used to perform recursion?
Is java se free?
Is there any way to skip finally block of exception even if some exception occurs in the exception block?
What is difference between java and java ee?
What is garbage collection? Can it be forced to run?
What is string in java?
What is a Presistent Object?
Have you ever used hashtable and dictionary?
What is another word for methodology?
Explain 5 io best practices?
Why are variables important in research?
Where import statement is used in a java program?
Explain constructors and types of constructors in java.
How many JVMs can run on a single machine and what is the meaning of Just-In-Time (JIT) compiler?