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 are the four main oops concepts?
difine hierarchical inheritance.
Can abstract class have normal methods?
When you define a integer it gets stored in which data structure?(Stack or a heap)
what are the ways in which a constructors can be called?
sir plz send me a set of questions that been frequently held in written examination during campus selection.
Name a typical usage of polymorphism
What is public, protected, private?
how do you handle yourself when you feel the wald is aganist you
Please send ford technologies placement paper 2 my mail id
1.what are two type of classe members called? 2.what is data hiding and data encapsulation? 3.how do you make a class member visible aouside its class? 4.what is the default visibility of a class data member? 5.what are the advantages of oop over the structured programing?
how can we design a magic square in c++?or suggest me the basic idea of it.