Core Java - Java.Lang.Package - Introduction and Object class Part-1

preview_player
Показать описание
DURGASOFT is INDIA's No.1 Software Training Center offers
online training on various technologies like JAVA, .NET ,
ANDROID,HADOOP,TESTING TOOLS , ADF, INFORMATICA, SAP...
courses from Hyderabad & Bangalore -India with Real Time Experts.
so that our Supporting Team will arrange Demo Sessions.
Ph:Call +91-8885252627,+91-7207212428,+91-7207212427,+91-8096969696.
Рекомендации по теме
Комментарии
Автор

Hi Sir. I know Object is superclass of all other Java classes. But how it is evaluated inside JVM and how JVM makes it as super class to other class. To be precise let us say I have 10 classes in my app .I want to make class 11 as the parent class for all the other classes implicitly like how compiler makes every class as child class to Object with out using extends keyword explicitly so that I can use

public class9 extends class12 {

// Internally it needs to get properties of class12 and class 11 as class11 is superclass of all 10 classes.
}

Hope this makes sense.

sreekanth