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

Book Details using polymorphism

Declare a class called book having author_name as private data member.Extend book class to have two subclasses called book_publication and paper_publication.Each of these classes have

Read More »