CoolInterview.com - World's Largest Collection of Interview Questions
Start Your Own website Now
Sponsored Links

Interview Questions
Our Services

Get 9,000 Interview Questions & Answers in an eBook.


  • 9500+ Pages
  • 9000 Question & Answers
  • All Tech. Categories
  • 14 MB Content

    Get it now !!



    Send your Resume to 6000 Companies


  • INTERVIEW QUESTIONS J2EE JAVA DETAILS
    Question :
    How can you achieve Multiple Inheritance in Java?
    Category Java Interview Questions
    Rating (0.4) By 1244 users
    Added on 10/13/2004
    Views 3064
    Rate it!
    Answers:

    Java's interface mechanism can be used to implement multiple inheritance, with one important difference from c++ way of doing MI: the inherited interfaces must be
    abstract. This obviates the need to choose between different implementations, as with interfaces there are no implementations.



    Java does not support Multiple Inheritance. Implementing many interfaces is a way how we can use this facility but still interfaces are only contract not having any definition.Hence java does not support multiple inheritence



    Posted by: Rupesh Raghani    

    Contact Rupesh Raghani Contact Rupesh Raghani

    If you have the better answer, then send it to us. We will display your answer after the approval.
    Rules to Post Answers in CoolInterview.com:-

  • There should not be any Spelling Mistakes.
  • There should not be any Gramatical Errors.
  • Answers must not contain any bad words.
  • Answers should not be the repeat of same answer, already approved.
  • Answer should be complete in itself.
  • Name :*
    Email Id :*
    Answer :*
    Verification Code Code Image - Please contact webmaster if you have problems seeing this image code Not readable? Load New Code
    Process Verification  Enter the above shown code:*
    Inform me about updated answers to this question

       
    Related Questions
    View Answer
    What is the difference between StringBuffer and String class?
    View Answer
    Describe, in general, how java's garbage collector works?
    View Answer
    What's the difference between == and equals method?
    View Answer
    What are abstract classes, abstract methods?
    View Answer
    How can you force all derived classes to implement a method present in the base class?
    View Answer
    What is the difference between an Applet and an Application?
    View Answer
    Java says "write once, run anywhere". What are some ways this isn't quite true?
    View Answer
    Describe java's security model.
    View Answer
    What is the difference between a Vector and an Array. Discuss the advantages and disadvantages of both?
    View Answer
    How many different types of JDBC drivers are present? Discuss them.
    View Answer
    What does the keyword "synchronize" mean in java. When do you use it? What are the disadvantages of synchronization?
    View Answer
    What are native methods? How do you use them?
    View Answer
    What is RMI?
    View Answer
    What is JDBC? Describe the steps needed to execute a SQL query using JDBC.
    View Answer
    Access specifiers: "public", "protected", "private", nothing?
    View Answer
    What does the "final" keyword mean in front of a variable? A method? A class?
    View Answer
    Does Java have "goto"?
    View Answer
    Why "bytecode"? Can you reverse-engineer the code from bytecode?
    View Answer
    What synchronization constructs does Java provide? How do they work?
    View Answer
    Are constructors inherited?Can a subclass call the parent's class constructor?When?
    View Answer


    Please Note: We keep on updating better answers to this site. In case you are looking for Jobs, Pls Click Here Vyoms.com - Best Freshers & Experienced Jobs Website.

    View ALL Java Interview Questions

    User Options
    Sponsored Links


    Copyright ©2003-2014 CoolInterview.com, All Rights Reserved.
    Privacy Policy | Terms and Conditions

    Download Yahoo Messenger | Placement Papers| FREE SMS | ASP .Net Tutorial | Web Hosting | Dedicated Servers | C Interview Questions & Answers

    Testing Articles | Testing Books | Testing Certifications | Testing FAQs | Testing Downloads | Testing Interview Questions | Testing Jobs | Testing Training Institutes


    Cache = 0.013672 Seconds