Java Programming - Polymorphism
Array is a collection of similar type of elements that have a contiguous memory location.
Java array is an object which contains elements of a similar data type. It is a data structure where we store similar elements. We can store only a fixed set of elements in a Java array.
Java Basic Programming: Polymorphism
Write a java program to perform runtime polymorphism using Hierarchical inheritance.
Write a java program to perform runtime polymorphism using Hierarchial inheritance.