Skip to content

Includes Implementation of Polymorphism and more inheritance concepts.

Notifications You must be signed in to change notification settings

Sanish07/Java-Polymorphism

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Java-Polymorphism

Includes Implementation of Polymorphism and more inheritance concepts.
This repository demonstrates usage of :

  • Comparing objects by overriding the methods of Root Object Class in Java.
  • Polymorphism : Mechanism that allows object to take different forms and behave differently.
  • Abstract Classes and Methods : When a class is made abstract, we cannot create its objects/instances and when methods are made abstract they necessarily need to be overrided in child classes.
  • Final Classes and Methods : When a class is made final, it cannot be inherited anywhere in the same project and when methods are made final they cannot be overrided in child classes.
  • Multiple Inheritance : Multiple Inheritance is not possible in Java since it leads to ambiguity.

About

Includes Implementation of Polymorphism and more inheritance concepts.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages