Search:

Type: Posts; User: Samaras

Search: Search took 0.32 seconds.

  1. Replies
    8
    Views
    1,929

    Re: Triple Inheritance

    Copeg i also thought of what you said but i think is too much.

    pbrocway2 check this example.

    Inheritance.java


    package inheritance;

    public class Inheritance {
  2. Replies
    8
    Views
    1,929

    Re: Triple Inheritance

    I also thought that we were able to use the same functionality with the interfaces(a class can implement two or more intrefaces if wanted) but i do not think that is works for the class inheritance.
  3. Replies
    8
    Views
    1,929

    Triple Inheritance

    I remember that i had read that multi inheritance is not allowed in JAVA.So imagine the hierarchy is like this in my code


    A
    |
    |
    v
    B
    |
    |
Results 1 to 3 of 3