could anyone please explain that if i make 1000s of instances of the same class then how will the memory be allocated to the instances of the class( i mean to diffent parts of the class i.e methods and attributes ) ...... please help !!!
dear ranchers i passed SCJP 1.6 with 80% , few days back. Although i read a lot of books , but probably the best book for the exam preparation is SCJP 1.6 by Kathy Sierra and Bert Bates. Thanks for the great book!!!
yes i understand what should happen here. i am trying to fill the memory with objects having no refrence, thus forcing the garbage collector to run and in turn execute the finalize method. But this doesn't happen. i do not understand why? can someone help?