Win a copy of Barcodes with iOS this week in the iOS forum or Core Java for the Impatient in the Java 8 forum!
A reference variable can be declared as a class type or an interface type. If
the variable is declared as an interface type, it can reference any object of any
class that implements the interface.
Slaxmi Raj wrote:Can any one please explain the below statement with example(Not getting to my knowledge because i am the beginner)...