The point is correct. But in this case the JVM takes care of it.For more details one can refer "Inside JVM" book. Java rules sometimes good for programmer but not for JVM. Another good example is EJB.