Write a java application to demonstrate what is the result of the following code fragment: List list

Write a java application to demonstrate what is the result of the following code fragment:

List list1 = new ArrayList();

List list2 = new ArrayList();

Save your time - order a paper!

Get your paper written from scratch within the tight deadline. Our service is a reliable solution to all your troubles. Place an order on any task and we will take care of it. You won’t have to worry about the quality and deadlines

Order Paper Now

list1.add(list2) ;

list2.add(list1) ;

System.out.println(list1.equals(list2)) ;

List list = new ArrayList() ;

list.add(list) ;

System.out.println(list.hashCode()) ;

 

Looking for a Similar Assignment? Let us take care of your classwork while you enjoy your free time! All papers are written from scratch and are 100% Original. Try us today! Use Code FREE15