Definition of class?

Answer Posted / adnan sheikh

A class is the collection of related function and data
together and object is the instance of the class

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can a Structure contain a Pointer to itself?

616


What is a base class?

612


Is atoi safe?

610


What is the error in the code below and how should it be corrected?

313


Why we use #include iostream in c++?

591






On throwing an exception by the animal constructor in p = new animalq, can memory leak occur?

687


What is microsoft c++ redistributable 2013?

581


How do you traverse a btree in backward in-order?

632


What is an iterator class in c++?

608


What's the best free c++ profiler for windows?

632


Can member functions be private?

603


Is vector a class in c++?

606


What is auto type c++?

635


What is the use of cmath in c++?

598


Why do we need runtime polymorphism in c++?

567