what are the ways in which a constructors can be called?
Answers were Sorted based on User's Feedback
Answer / s.verma
A constructor can be called implicitly or explicitly.
When an object of class is created the constructor is
implicitly called.
When we create an object we desired properties, we call the
constructor explicitly.
| Is This Answer Correct ? | 4 Yes | 2 No |
Answer / king
A constructor can be called implicitly or explicitly.
When an object of class is created the constructor is
implicitly called.
When we create an object we desired properties, we call the
constructor explicitly.
| Is This Answer Correct ? | 0 Yes | 1 No |
Have you ever used threads?
oops concept is used for?
what is a binary overloading
c++ is a pure object oriented programming or not?
Generally, in all C++ programs, texts are in white colour. Can we change the colour of the text(either input or output or both)? If so, help me out.
What are the access specifiers avaible in c++?
I am DeePu sotware engineer working with EMC corporation ,recently I had attended mcafee interview . Their questions were at heights of stupidity , I don't know what they want , I am a developer with 4 year experienced .I am listing the questions asked 1:What is the flag in g++ to avoid structure padding 2:In wht order parameters are passed to stack 3:How you will edit code segment of an exe
What are the 3 principles of oop?
what is diff between .net 1.1 and .net 2.0
what is overloading
Why do we use polymorphism?
What is Virtual Keyword?