answersLogoWhite

0

An override is the specialisation of a virtual function. The new keyword instantiates an instance of an object in dynamic memory and returns a reference to that object (or null if the object could be instantiated). Both are used in C++, but not C.

User Avatar

Wiki User

10y ago

What else can I help you with?

Related Questions

What is a new keyword in java methods?

new is a keyword to create a instance of object any class.


What is the use of keyword new used in AWT programming?

what is the use of new keyword in awt programming


When will the keyword be implemented in the new software update?

The keyword will be implemented in the new software update next month.


What is the difference between the mid Atlantic and the new England region?

whats the difference between midAtlantic and new England


How threads are synchronized in a java?

By using an Runnable and Thread object. EX: Runnable r = new Runnable() { Thread t = new Thread() { @Override public void run() { //place code for new thread here } }; @Override public void run() { t.start(); } }; r.run();


What is the difference between over-loading and over-riding in cpp?

Overloading and overriding do similar things but they are distinct. When you override a function, you are providing a new implementation of a function that was inherited from a base class. The signature of an override must be covariant with the base class signature. Overloading means to create several functions with the same name within the same namespace but with different signatures.


What does the new function do?

The new keyword creates a new Object.


What is new keyword in c?

enum, void and const are relatively new keywords in Cnew, on the other hand, isn't a keyword in C


What is the difference between traditional banking and modern banking?

difference between modern and traditional banking is


What is the difference between the old broadsheet and the new broadsheet?

The difference is that one of them is old and the other one new.


What is the time difference between Adelaide and New York city?

Difference in local time in Adelaide and Singapore


What are the difference between Karachi and New York?

similarities and differences between new York and Karachi