Definition of class?

Answer Posted / aarthi

class is defined as the collection of attributes and
behavior

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a c++ class?

608


What do you mean by funtion prototype?

578


What is a breakpoint?

554


Why do we need function?

595


What does asterisk mean in c++?

578






Show the declaration for a pointer to function returning long and taking an integer parameter.

568


Explain the uses oof nested class?

621


What are namespaces in c++?

585


Explain the difference between abstract class and interface in c++?

517


Why isn't sizeof for a struct equal to the sum of sizeof of each member?

532


What is size of string in c++?

547


When is the destructor called?

599


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

672


What is a class template?

583


What is a unnitialised pointer?

525