Definition of class?

Answer Posted / shivani sharma

class is a collection of data member and member function

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why do we need constructors in c++?

618


What are the two shift operators and what are their functions?

561


How do you clear a buffer in c++?

541


How should a contructor handle a failure?

688


Explain what is oop?

619






Is it possible to have a recursive inline function in c++?

556


What is an operator function? Describe the function of an operator function?

619


Describe new operator?

622


What is the most common mistake on c++ and oo projects?

525


Describe the syntax of single inheritance in C++?

647


Explain the difference between new() and malloc() in c++?

622


What can c++ be used for?

583


What is endianness?

624


When the constructor of a base class calls a virtual function, why doesn't the override function of the derived class gets called?

574


How can a called function determine the number of arguments that have been passed to it?

659