Inheritance is a compile-time mechanism in Java that allows you to extend a class (called thebase class or s uperclass ) with another class (called the derived class or subclass). In Java, inheritance is used for two purposes:
nema biografija za mene