Top Answer
User Avatar
Wiki User
Answered 2012-05-21 13:07:32

when we write a new keyword with any class, then it calls the immediate super class constructor and then it object is created.

User Avatar

Your Answer

Still Have Questions?

Related Questions

When was Object to Be Destroyed created?

Object to Be Destroyed was created in 1923.

When was The Object Is created?

The Object Is was created on 1963-12-30.

When was The Wrong Object created?

The Wrong Object was created in 2002.

When was Object Pascal created?

Object Pascal was created in 1986.

When was Object Oberon created?

Object Oberon was created in 1990.

When was Object REXX created?

Object REXX was created in 1988.

When was Unfolding Object created?

Unfolding Object was created in 2002.

When was Object of Obsession created?

Object of Obsession was created in 1994.

When was Object Windows Library created?

Object Windows Library was created in 1991.

When was The Object of My Affection created?

The Object of My Affection was created on 1998-04-17.

When was The Object of Beauty created?

The Object of Beauty was created on 1991-04-12.

When was Love Object created?

Love Object was created on 2003-04-05.

When was Gotan Object created?

Gotan Object was created on 2008-11-18.

When was Indestructible Object created?

Indestructible Object was created on 2004-04-04.

When was The Sublime Object of Ideology created?

The Sublime Object of Ideology was created in 1989.

When does the memory created for an object?

Memory for a Java object gets created when the object is instantiated. For example private String name = "rocky"; At the end of this statement the memory for the string object name gets created in the memory.

Can we create an array of objects for a class having default constructor Justify your answer?

See example code below. #include <iostream> class x { private: // Members. static int counter; int data; public: // Default constructor and destructor. x():data(++counter){printf("Object %d created!\n",data);} ~x(){printf("Object %d destroyed!\n",data);} // other members omitted for brevity... }; // Initialise static counter. int x::counter=0; int main() { // Instantiate an array of 10 objects. x arr[10]; // .. do some work with the array .. return( 0 ); // The array falls from scope, destroying the objects. } Example output: Object 1 created! Object 2 created! Object 3 created! Object 4 created! Object 5 created! Object 6 created! Object 7 created! Object 8 created! Object 9 created! Object 10 created! Object 10 destroyed! Object 9 destroyed! Object 8 destroyed! Object 7 destroyed! Object 6 destroyed! Object 5 destroyed! Object 4 destroyed! Object 3 destroyed! Object 2 destroyed! Object 1 destroyed!

When was Mysterious Object at Noon created?

Mysterious Object at Noon was created on 2000-10-02.

Which type of object can be created directly in Excel?

A chart is the type of object that can be created directly in Excel.

When was Undefined Fantastic Object created?

Undefined Fantastic Object was created on 2009-08-15.

When was That Obscure Object of Desire created?

That Obscure Object of Desire was created on 1977-08-17.

When was Object Lessons - novel - created?

Object Lessons - novel - was created in 1991.

.....will be automatically Invoked when an object is created?

The Class object is automatically created by the JVM when an object is created. The Class object provides information about the Class and is primarily used by the IDEs and factory classes. The method that is automatically called when an object is created is called a constructor. In Java, the constructor is a method that has the same name as the class.

When was Simple Object Database Access created?

Simple Object Database Access was created on 2002-04-16.

When does this pointer get created?

When we call non static method with respect to class object then this pointer is created which keep the reference of that object.

Still have questions?

Trending Questions
Best foods for weight loss? Asked By Wiki User
Previously Viewed
When the object is created? Asked By Wiki User
Unanswered Questions
Where is 5.9055118 on a ruler? Asked By Wiki User