K
Q. What will be the output of the following Java program?
class Output { public static void main(String args[]) { int a,b,c,d; a=b=c=d=20; a+=b-=c*=d/=20; System.out.println(a+" "+b+" "+c+" "+d); } }
No solution found for this question.
Add Solution and get +2 points.
You must be Logged in to update hint/solution
Be the first to start discuss.
Q. What is the variables declared in a class for the use of all methods of the class called?
Q. Which of these exception is thrown by close () and read () methods?
Q. Unlike C-Arrays, the Java-Arrays have ___.
Q. Which of the following statements will result in compilation error in Java
Q. In Java, can a subclass override a default method from its superclass?
Q. which among the following is not a Data Type in Java?
Q. What is the use of valueOf( ) method?
Q. What is the output for the below code ?
Q. How do you indicate where a component will be positioned using Flowlayout?
Discusssion
Login to discuss.