Posted inNotes Object Oriented Programming What is parameterized constructor? Give an example. Posted by By Tanmay Chakrabarty August 21, 2013 Parameterized Constructor: We know that when we create an object the constructor function gets execution…
Posted inNotes Object Oriented Programming What is namespace? Posted by By Tanmay Chakrabarty August 21, 2013 Namespace: Namespace defines a scope for the identifiers that are used in the program. To…
Posted inNotes Object Oriented Programming What is this Pointer? Give an example. Posted by By Tanmay Chakrabarty August 21, 2013 The this Pointer: When a function of a class is called by an object of…
Posted inNotes Object Oriented Programming What is function overloading? Discuss this. Posted by By Tanmay Chakrabarty August 21, 2013 Function Overloading: Overloading refers to the use of the same thing for different purposes. When…
Posted inNotes Object Oriented Programming What is constructor? Posted by By Tanmay Chakrabarty August 21, 2013 Constructor:A constructor is a ‘special’ function whose task is to initialize the objects of its…
Posted inNotes Object Oriented Programming Write some properties of constructor? Posted by By Tanmay Chakrabarty August 21, 2013 Properties of Constructor Function: Following are some properties of Constructor FunctionThey will have the same…
Posted inNotes Object Oriented Programming How does a static member variable or static data member differs from a non-static variable or data? Explain with an example. Posted by By Tanmay Chakrabarty August 21, 2013 Static Data Member and Difference with Non-static Data Member: In general when we declare some…
Posted inNotes Object Oriented Programming Write down some properties of static member function. Posted by By Tanmay Chakrabarty August 21, 2013 Properties of Static Member Function: Following are some properties of Static Member FunctionA static member function…
Posted inNotes Object Oriented Programming What is inline function? Give some uses of it. Posted by By Tanmay Chakrabarty August 21, 2013 Inline Function:Every time a function is called, it takes a lot of extra time in…
Posted inNotes Object Oriented Programming What is friend function? Explain the use with an example. Posted by By Tanmay Chakrabarty August 21, 2013 Friend Function: Friend functions are those functions which can access all the functions and variables…