Advertisment

Polymorphism and Java

author-image
CIOL Bureau
Updated On
New Update

Single polymorphism is achieved by method overriding. Listing 1 provides an example of single polymorphism, demonstrating how classes that implement the Traceable interface simply write their current state to System.out.

Click here for more !

tech-news