question on Tagging interface

General discussion on technical and managerial topics
no avatar
Richa
 
Posts: 2
Joined: Sun Jan 27, 2013 4:44 pm

question on Tagging interface

by Richa » Sun Jan 27, 2013 8:35 pm

Tagging interface

in tutorial it is said that tagging interface is designed to

Adds a data type to a class: This situation is where the term tagging comes from. A class that implements a tagging interface does not need to define any methods (since the interface does not have any), but the class becomes an interface type through polymorphism.

but the class becomes an interface type through polymorphism. whad does this line mean? can u explain me with example?

Return to General Discussion