Need to remove the compiling error,
December 17, 2009 at 1:29 PM
System.out.println(Test.getClass().equals(test2.getClass())); //false remove the above line and add the below line to compile it. Because getClass() method is not a static. System.out.println(test1.getClass().equals(test2.getClass())); //false
View All Comments
| View Tutorial