hi raja veeramani
multiple inheritance can be achieved using the concept of interface.
yes
But I not able to understand how they are achieved using interface ?
It is a concept of
polymorphism that the class implements several interfaces, for example the original class named service provider who contains three services, these three services are implement by service provider, so that the service provider can act as three role such as cook, cleaner and feeder. Each role resopnds to be a specific function(abstraction). So that the service provider can use the function of interfaces and to be a role of these interfaces, you can act as which role at run time that is up to you.
And also appying some OO design principles such as low couping and high cohesion.
So does java support multiple inheritance or not
No java does not support multiple inheritance, that means you can not extends more than one class in the original class
hope this help
[ April 12, 2004: Message edited by: siu chung man ]