Skip to content

robpodops/Polymorphism_task

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Polymorphism

Override a method from the Parent class and then overload it.

Overriden method should return such text: "This is the overriden method!"

The overloaded method should take a parameter of type int named parameter and return the following text:

"This is the overloaded method with int parameter: " + parameter;

(Note that the method should return this text, not display it on the screen)

Warning
Please do not modify the Parent class!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%