Java – Inheritance Basics : IS-A Relationship with Example : IS-A is a way of saying : This object is a type of that object. public class Vehicle{ } public class FourWheeler extends Vehicle{ } public class TwoWheeler extends Vehicle{ } public class WagonR extends FourWheeler{ } Conclusions from above Example : From the above(...)
The post IS-A Relationship : Java – Inheritance Tutorial appeared first on Learn Java Programming.