Explain Multiple inheritance

Multiple inheritance: The capability of a class or interface to expand more than one interface or class. In Java, multiple inheritance is only accessible in the circumstances which are shown below:

  • An interface might expand more than one interface.
  • Class might implement more than one interface.

Just single inheritance is feasible for a class extending the other class.

   Related Questions in Programming Languages

  • Q : What are Literals What are Literals and

    What are Literals and also state their respective types?

  • Q : Use of setjmp and longjmp Use of

    Use of setjmp() and longjmp(): In C/C++, setjmp() saves the contents of the registers at a particular state in the program and longjmp() will restore that state later. In this way, longjmp() “returns” to the state of the program when setjm

  • Q : What is Common Gateway Interface Common

    Common Gateway Interface: The Common Gateway Interface (abbreviated as CGI) is a standard which permits Web clients to interact with programs on Web server. The CGI script is on the server and is able to process arguments or input from a client, and r

  • Q : Questions on java class Array 1.

    1. Suppose we have a class A which has a constructor that takes a single integer.

    (a) After the following statements have been executed, how many A objects will exist

  • Q : Difference between JavaScript and AJAX

    Write basic difference between JavaScript and AJAX ?

  • Q : Uses of the Utilities.Trim function

    Some tools on the web page I am testing have leading or trailing whitespaces. I am utilizes the Utilities.Trim function to eliminate them, but sometimes this does not work. What is incorrect?

  • Q : Explain Return statement Return

    Return statement: It is a statement employed to terminate the execution of the method. The method with void return type might only have return statements of the form as:


  • Q : Rings present in CPU What do you mean

    What do you mean by rings present in CPU?

  • Q : Is a XML replacing HTML Is a XML

    Is a XML replacing HTML?

  • Q : What is Variable Variable : It is the

    Variable: It is the memory block of specific size where value can be stored and modified throughout program execution. Example: int x, float y, float amount, char c;