Question: Question 1 2 public class Main { public static void main ( String args [ ] ) { Test t 1 = new Test (

Question 12
public class Main {
public static void main(String args[]){
Test t1= new Test();
Test t2= new Test();
t1.data =7;
t2.data =7;
System.out.println(t1!= t2);
}
}
class Test{
public int data;
}
a) true
b) false
c)7
d) None of the above
a)
b)
c)
d)
Question 1 2 public class Main { public static

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!