Discussion Locked

java

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
will you tell me y object class is parent class for all classes

3 replies

by tony hopkinson

Having another ultimate parent with the same methods would have violated the tenets of object orientation.

Every object has a class, that's what makes it a class. What place other than the ultimate parent would you put that property?

by crizoselliva

I agree with Mr. Tony Hopkins..there should be one parent or class in object..cause having two will create errors in your program...

by glomarie

I am not an IT but i have some knowledge about java..I agree to the both of you that having two parent class will create errors..

This discussion is closed to new replies.