what is costructor?
Answer / dipraj shahane
Constructor is special member function of class which having
same name as Class name and no return type. Main function of
Constructor is to initialize (give default values to member
variable of class object) object. Constructor gets invoke
when you create new object by following syntax.
ClassName objectName = new ClassName();
Is This Answer Correct ? | 22 Yes | 0 No |
What is the difference between procedural programming and oops?
What does the keyword "static" mean?
Write a c++ program to display pass and fail for three student using static member function
What is oops in programming?
what is function over loading?
What is this interview room ? Is it a class or an object.
can you give real time example for polymarphism
What is virtual destructor? Why?
3 Answers Agile Software, College School Exams Tests, CSC,
Write a macro for swapping integers
What is multiple inheritance?
Finding of the 4 larger (bigger) numbers from the list like{1245,4587,2145,1163,29987,65783.....}
what is a virtual class?
5 Answers Cap Gemini, IBM, Infosys, Trinity Technologies,