answersLogoWhite

0


Best Answer

An implicit constructor call will always call the default constructor, whereas explicit constructor calls allow to chose the best constructor and passing of arguments into the constructor.

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the difference between implicit and explicit call of constructor in c plus plus?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

What is the difference between implicit and explicit Java programming?

Explicit means done by the programmer. Implicit means done by the JVM or the tool , not the Programmer. For Example: Java will provide us default constructor implicitly.Even if the programmer didn't write code for constructor, he can call default constructor. Explicit is opposite to this , ie. programmer has to write .


What is the difference between implicit dll and explicit dll?

Implicit linking - this is loads automatically at the application startup itself and loaded throughout life of program. Consuming the memory which can be made available to other applications while not in use. Explicit - Explicitely loading dlls into memory by calling fuctions such as loadlibrary. Then user can take the fuction pointers of exported funcions calls the funcitons and afte use and unload library, freeing memmory consumed by dll , so that it can be available to other use.


What is the difference between the constructor to and destructor?

Functions and Constructors are similar in many ways. They can have arguments, they can have any amount of code, they can access the class's variables etc. the only difference is that a method in java needs to mandatorily have a return type but a Constructor in java cannot have a return type. It always creates and returns an object of the class for which it is the constructor. You cannot return a value from a constructor explicitly and if you try to do that, the compiler will give an error. The system knows that the purpose of the constructor is to create an object of the class and it will do the same irrespective of whether you declare a return type or not.


What is the difference between constructor and friend function in c plus plus?

A constructor is a method that fires when the object is instantiated. A friend function is a function that has special access to the object. They are two different types of things, and cannot be further differenced.


What is the difference between default constructor and parameterized constructor?

A default constructor is one that has no parameters (C++ also calls constructors with all default parameters a default constructor), while a parameterized constructor is one that has at least one parameter without a default value. Default constructors can be provided by the compiler if no other constructors are defined for that class or any class the class inherits from, while parameterized constructors must always be defined by the developer.

Related questions

What is the difference between implicit and explicit Java programming?

Explicit means done by the programmer. Implicit means done by the JVM or the tool , not the Programmer. For Example: Java will provide us default constructor implicitly.Even if the programmer didn't write code for constructor, he can call default constructor. Explicit is opposite to this , ie. programmer has to write .


What is the difference between explicit and implicit?

explicit is clearly stated and implicit is not clearly stated


Explain the difference between an explicit and an implicit lock?

clearly


Difference between implicit and explicit conversions?

Explicit is something precisely and clearly communicated, while implicit is something implied though not directly expressed.


What is the difference between an explicit an implicit metaphor?

An implicit metaphor implies something, an explicit metaphor explicitly makes something known, probably without doubt.


What is the difference between implicit and explicit objects?

Explicit means properly and clearly declared.....will give you the full meaning Implicit means not properly defined....will not give you the exact meaning ....


What is the difference between implicit and explicit theory?

explicit is the market value of all inputs purchased by a producer while implicit cost is the market value of inputs owned by the producer himself.


What is the difference between implicit and explicit meaning?

It's simple the reader infers details that are implied by the text,Explicit means clearly expressed or readily observable where as Implicit means implied or expressed indirectly.


What is the difference between implicit and explicit solver in CAE?

Explicit: + fast: known expression for solution at next time level { stability restrictions on t. Implicit: + less restrictive conditions on t { must solve equation to update solution


What is the difference between Implicit and Explicit denial?

"implicit" means suggested, indicated, hinted at. "explicit" means nothing is left to the imagination- totally clear what is meant. Example: The sex scenes in the movies were all implicit. Means that a knowledgeable person would know what the actors were doing but an innocent child would have no idea what was going on. Explicit sex means the film shows people having sex.


Describe the differences between implicit costs and explicit costs?

Explicit costs are those that are a result of a product. Implicit costs are costs that are associated with a product, but they can't be directly linked to the product.


What are the difference between Explicit grammar and implicit grammar?

Explicit grammar refers to rules and principles that are consciously taught and learned, while implicit grammar refers to the ability to unconsciously apply the rules of grammar in language use. Explicit grammar instruction involves direct teaching of grammar rules and structures, while implicit grammar acquisition occurs through exposure to language and practice.