class Test {
}
class Test2 {
private int age;
Test2(int age) {
this.setAge(age);
}
public boolean equals(Object obj) {
// TODO Auto-generated method stub
return true;
}
public int getAge() {
return age;
}
public void setAge(int age) {
this.age = age;
}
}
public class Eq {
public static void main(String[] args) {
// TODO Auto-generated method stub
int a = 10;
long b = 10L;
double c = 5.0;
String s1 = "hello";
String s2 = "hello";
Test t1 = new Test();
Test t2 = new Test();
Test t3 = t1;