Programming, Object Oriented, Java.
For example, FileInputStream "is-a" InputStream that reads from a file. Polymorphism It means one name many forms. It is further of two types — static and dynamic. Static polymorphism is achieved using method overloading and dynamic polymorphism using method overriding. It is closely related to