This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
For long time I had a question �why Sun introduced Interface concept instead of C++ style of multiple inheritance?�. I did googling but many articles and forums talks about difference between abstract class and Interface not why Interface concept required in Java. After extensive search and analysis I came to know the reason behind the Interface concept in Java.
Hi Java does not support multiple inheritence because of its various disadvantages.One amoung them is Suppose a class Animal having public eat() method.2 other classes say Lion and Tiger extends this Animal class.Now there is also a third class Tigon which extends both Lion and Tiger.Now could you tell me if i call eat method in Tigon class then which one either from Lion or Tiger class?
I think it helps you better in understanding this .............