J
Q. Determine output
public class Test{ int i = 34; public static void main(String args[]){ Test t1 = new Test(); Test t2 = new Test(); t1.i = 65; System.out.print(t1.i); System.out.print(t2.i); } }
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 full form of AWT?
Q. What is the purpose of the toLowerCase() method of a String object in Java?
Q. Iterator returned by Vector is?
Q. BigInteger Class is used to ___.
Q. In Java, can an interface have private methods with implementations?
Q. What will be the output of the following Java program?
Q. Which of the following statements is true about arrays in Java?
Q. Which of the following are true about the Error and Exception classes?
Discusssion
Login to discuss.