If in class A i declare one method go; which is static but in sub class i dnt declare same method which is not static. if i invoke non-static method using instance of sublcass will i get compilation error
Can any one tell me about "when objects are returned from a method they are not eligible for GC." so does this mean when C3 = CB = null ...C3 is not eligible for GC