import java.util.*; public class Test { public static void main(String[] args) { Class c1 = new ArrayList<String>().getClass(); Class c2 = new ArrayList<Integer>().getClass(); System.out.println(c1 == c2); } }
Login in to like
Login in to comment
or Read more about Java Quizzes
Login in to like
Login in to comment