virtual function, JAVA Programming

What is virtual function?

While derived class overrides the base class method by redefining the same function, after that if client wants to access redefined the method from derived class by a pointer from base class object, then you must describe this function in base class as virtual function.

Posted Date: 2/16/2013 6:12:05 AM | Location : United States







Related Discussions:- virtual function, Assignment Help, Ask Question on virtual function, Get Answer, Expert's Help, virtual function Discussions

Write discussion on virtual function
Your posts are moderated
Related Questions
After refactor the main class to become abstract class, I want to move test method from tset clas of main class to subclass, how to do that?

Defines to keeping all the related members together in an object. Specifying member variables as private may hide the methods and variables. Objects should hide their inner working

Describe Inner Classes in java? An inner class is a class whose body is described inside another class, referred to as the top-level class. For instance: public class Queue {

i need help

The Object class is the highest-level class in the Java class hierarchy. The Class is used to show the classes and interfaces that are loaded by a Java program..

Explain operator precedence in java ? It's probable to combine multiple arithmetic expressions in one statement. For example the subsequent line adds the numbers one by five:

Which models are supported by JMS? Please, explain them. Ans) Publish or subscribe (pub/sub). This model permits a client (publisher) to send messages to a JMS topic. These mess

I have a very simple app that I have developed and is in the AppStore. I need the app to be developed for Android as it is presently in Objective C only. All plist html/ lists s

Create a program Using Constructors? The further program uses the constructor to initialize a car rather than setting the areas directly. class CarTest7 { public static voi

Integration: Neo4J, OpenGeo, Ikanow Project Description: I have an ongoing project to loosely integrate a variety of existing Open Source products: OpenGeo (geospatial server