R
Q. What will be the output of the following Java code?
class Output { public static void main(String args[]) { int x , y = 1; x = 10; if (x != 10 && x / 0 == 0) System.out.println(y); else System.out.println(++y); } }
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. How many types of constructor are defined in the StringTokenizer class?
Q. Which method in java is used to get the name of running java VM?
Q. What is the output of the following code?
Q. Which of the below is a source code management tool?
Q. What software compiles a Java Program?
Q. Which keyword in java is used for exception handling?
Q. Every statement in Java language should end with a?
Q. In Java, can a subclass access protected members (fields and methods) of its superclass?
Q. Java uses UTF-16 Unicode format to represent characters. What is UTF?
Discusssion
Login to discuss.