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
Implement a program to query and update the text database for a library using a client/server model allowing multiple clients safe access to the database, and using a producer-cons

The roster lets you keep track of the availability ("presence") of other users. A roster also allows you to organize users into groups such as "Friends" and "Co-workers". Other IM

Java has two kinds of exceptions: 1. Checked exception: handled from java.lang.Exception but not java.lang.RuntimeException. 2. Unchecked exception: handled from java.lang.Ru


Explain break statement in a loop ? A break statement exits a loop before an entry condition fails. For instance, in this variation on the CountWheat program an error messa

In an external JavaScript file write code that, upon form submission, scans the list of courses for a match (case should be insensitive). If a match is found, change the div's back

Java Message Service: An interface executed by most J2EE containers to give point-to-point queueing and topic (publish/subscribe) behavior. JMS is frequently used by EJB's that req

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

Logical Operators Operator Functionality E x ample/ Explanation     && Looks at 2 expressions & returns a

Explain what is Object in JAVA language? They are foundation of object oriented language. They are data structure holds data fields and properties and methods