answersLogoWhite

0

Because the JVM decides are run time which constructor to invoke depending on the parameters passed to it

User Avatar

Wiki User

12y ago

What else can I help you with?

Related Questions

Why main memory use dynamic memory rather than static memory?

Dynamic memory changes and static stays the same.


Are constructors inherited?

Constructors, static initializers, and instance initializers are not members and therefore are not inherited.


What is non static constructor in c sharp?

The non static constructors in C# are the ones participate in object creation, while static constructors are for loading class definitions. The latter one does not create object instance of the class being loaded Below are the example of both: public class Dummy { // static constructor, no modifier to the method static Dummy() { Console.Write("loading class Dummy"); } // the default non static constructor, in conjunction with new operator public Dummy() { Console.Write("creating an instance of Dummy"); } }


What types of functions cannot be made virtual?

Static member functions, member function templates and constructors cannot be virtual.


Does comcast have static or dynamic ip's?

Dynamic unless you pay extra for a static.


Types of Internet static and dynamic - explain this?

Static: Not Moving Dynamic: Moving


Client computers use DHCP by default unless you specify a dynamic IP address during the installation?

Client computers use DHCP by default unless you specify a static IP address during the installation.


Is wellness a static or dynamic process?

Dynamic process. Static means staying the same.


What is Dynamic static?

static comes from stationary means not moving and dynamic means moving


What is constructor and discuss different types of constructor with syntax and examples?

A constructor is a class method which initialises an object of the class at the point of instantiation. Specifically, it initialises the base classes (if any) and the non-static data members (if any). Constructors also play a central role in the resource acquisition is initialisation (RAII) paradigm. Objects which have a natural default value have a default constructor. The default constructor is a constructor that has no arguments or where all arguments have default values. Objects which can be copied have a copy constructor. The copy constructor has just one non-default argument, a const l-value reference of the same type as the class. Objects which can be moved have a move constructor. The move constructor has just one non-default argument, a modifiable r-value reference of the same type as the class. All other constructors that have only one argument of a type other than the class itself are known as conversion constructors. Constructors can also have more than one argument. No specific name is given to these constructors. Other than physical memory constraints, there is no limit to the number of constructors that may be defined for a class.


Is Sodapop a static or dynamic character?

static


Are human rights dynamic or static?

dynamic