posted 23 years ago
I didnt got exactly what the question means...
object of any class you wanna create, if that class dont have its own constructor then the java runtime calls the java.lang.object class's constructor, that means java.lang.Object class is the parent of all the classes whether you extend your class from it or not.... its extended by default...
If you dont want your class to be instantiated then you can create one private constructor
private constructors is being used in Singleton Design Pattern
when you dont know the full functionality of a behaviour of an object and dont want to instantiate a class, you give common functionality and leave the rest for the child class to provide the implementation.... thats where you make the parent class an abstract and the method which you want your child class to implement.
but this reduces ones ability for multiple inheritance for which one used interfaces...