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
Explain public static void main(string args[]).
What is hashing principle in java?
Write a program to check string is palindrome without using loop?
What is java english?
How to implement an arraylist in java?
What is the difference between array list and vector in java?
how to write a program for sending mails between client and server
What is identifier with example?
What is a consumer in java?
Does java support Operator Overloading?
What is consumer in java?
Explain the use of javap tool.
What 5 doubled?
What are the two types of exceptions in java? Which are the differences between them?
Explain the key functions of data binding?