in java all the classes are extend with Object class implicitly. java does not support multiple inheritence. but when we are extending a class with some other class doesnt that mean that class is extended twice?
in java all the classes are extend with Object class implicitly.
the correct statement would be in java all classes that do not extend from any other class extend from the Object class so if your class in extending from some other class it will not directly extend from Object... so there is no multiple inheritance problem.. [ April 18, 2008: Message edited by: abhishek pendkay ]
The significant problems we face cannot be solved by the same level of thinking which created them – Einstein SCJP 1.5, SCWCD, SCBCD in the making
Hidear I would like to add some more. it is called maultilevel inheritence which you are explnig exctly. when we say multiple that means extends morethen oneclass. as you may see in C plus plus. if we extend two class to one single class by extending 2-times then it is not not fair. [ April 21, 2008: Message edited by: Kuldeep withDreams ]
Regards,<br />kuldeep<br /> <br />May be.!! Alot of People are responsible for your Success but you are the ONE responsible for your FAILURE.