adspace
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 different ways of using thread? : Java thread
How to create a base64 decoder in java8?
What is a classloader in java?
What is parsing in java?
What is the difference between equals() and == in java?
How to sort array in descending order in java?
What is a constructor overloading in java?
Realized?
Explain public static void main(string args[]) in java.
What is the difference between break and continue statements?
What is java string pool?
Write a program to print count of empty strings in java 8?
Differentiate between static and non-static methods in java.
What do you mean by an interface in java?
Write a program to find the whether a number is an Armstrong number or not?