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 primary objective of the Java 8 release?
Q. A SWITCH case statement in Java is a ___ control statement.
Q. Which of these method is used to start a server thread?
Q. What is stringBuffer in java?
Q. What will be the output of the following Java code?
Q. A java program must contain a______ method.
Q. What is the replacement of joda time library in java 8?
Q. Which operator is used to invert all the digits in binary representation of a number?
Q. Which of these methods of class StringBuffer is used to extract a substring from a String object?
Discusssion
Login to discuss.