S
Q. What will be the output of the following Java code? public class Boxer1 { Integer i; int x; public Boxer1(int y) { x = i+y; System.out.println(x); } public static void main(String[] args) { new Boxer1 (new Integer(4)); } }
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. Can we create an instance of Enum outside of Enum itself?
Q. Which method in Thread class is used to check weather a thread is still running?
Q. What is the output of a Logical AND (&) operation if one of the inputs/operands is true?
Q. Which page directive should be used in JSP to generate a PDF page?
Q. Which of these statements are incorrect?
Q. Unchecked exceptions are checked at compile-time rather they are checked at runtime.
Q. How many techniques are used in Session Tracking?
Q. When does Exceptions in Java arises in code sequence?
Q. What is the purpose of the "final" keyword in Java inheritance?
Discusssion
Login to discuss.