A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Is a relationship in Java?

Best Answers

In Object oriented programming, IS-A relationship denotes “one object is type of another”. IS-A relation denotes Inheritance methodology. In Java, Inheritance can be implemented with extends (in case of class) and implements(in case of interface) keywords. A simple example of IS-A relation : Dell IS-A laptop.Feb 28, 2014 read more

In Java, is-a relation between the type parameters of one class or interface and the type parameters of another are determined by the extends and implements clauses. Using the Collections classes, ArrayList<E> implements List<E>, and List<E> extends Collection<E>. read more

Entire java API is implemented based on inheritance. Every java class extends from Object class which has most common and basic methods required for all java classes. Hence we can say “Object ” class is root class of all java methods. A point to remember on inheritance .. read more

Encyclopedia Research

Wikipedia: