What are virtual functions in java?

Virtual functions are functions of subclasses that can be invoked from a reference to their superclass. In other words, the functions of the actual object are called when a function is invoked on the reference to that object.
 

Search Topics

Popular Posts