![]() Related Questions Latest Answer : Memory leaks are possible in Java. There is a possibility that the garbage collector may never even run during an application's lifetime, even if it is explicitly invoked by calling System.gc(). The garbage collector won't be automatically run ... Latest Answer : By manually calling the gc() method of Runtime class ... If there are 2 different versions of object streams on disk and only one object definition, how will If there are 2 different versions of object streams on disk and only one object definition, how will the JVM reject the wrong one? Can you fool the JVM When you have an object passed to a method and when the object is reassigned to a different one, then is the original reference lost Latest Answer : A phantom reference lets you do final touch up closing on an object, even after it has been declared dead — no longer referenced by any live object.During garbage collection, these reference objects are handled specially; that is, the referent field ... What is a memory footprint? How can you specify the lower and upper limits of the RAM used by the JVM? What happens when the JVM needs more memory Latest Answer : Class c=Class.forName("Student");Student s=(Student)c.newInstance();Another method:Student s1= s.clone(); ... Read Answers (5) | Asked by : chandu Latest Answer : we can create object in different ways1.new operator2.class.forName3.newInstance4.object.clone ... Read Answers (4) | Asked by : chandu When we are sending the serialized array object thro the network, what is being passed ? is the value or the reference ? Read Answers (5) | Asked by : aadi Latest Answer : Java is not purely Object Oriented because it uses primitives. ...
Sponsored Links
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||