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 |
In which cases you use override and new base?
write a program using c++ to implement single contiguous memory mangement techniques.display the content of the main memory after yhe allocation of jobs and percentage of the wastage of the main memory
What is use of overloading?
Is data hiding and abstraction same?
Describe these concepts: Polymorphism, Inheritance and Abstraction.
why we are declare the function in the abstract class even though we are declaring it in Derived class?
When not to use object oriented programming?
What is an interface in oop?
what is the virtual function overhead, and what is it used for ? i hope i can get and appropriate answers, thanks a lot....
What is the difference between an object and a class?
class CTest { public: void someMethod() { int nCount = 0; cout << "This is some method --> " << nCount; } }; int main() { CTest *pctest; pctest->someMethod(); return 0; } It will executes the someMethod() and displays the value too. how is it possible with our creating memory for the class . i think iam not creating object for the class. Thanks in Advance... Prakash
me get an assignent n its question is this 1.creat a set as in math i.ea={1,2} 2.insert element in it3. delete element don,t repeat any element 4.union 5. intersection of two sets plz help me i always pray for u n send me at ayeshawzd@hotmail.com f u have c++ how to program 5th addition then it is the 10.9 question in 10th chapter exercise