What are class and object in C++?

Answer Posted / hrpynux@gmail.com

A Class in object oriented programming is a blueprint or prototype that defines the variables and the methods (functions) common to all Java Objects of a certain kind. An object in OOPS is a specimen of a class. Software objects are often used to model real-world objects you find in everyday life.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by volatile and mutable keywords used in c++?

586


How can you link a c++ program to c functions?

624


What is a string example?

552


What is the precedence when there is a global variable and a local variable in the program with the same name?

642


List the merits and demerits of declaring a nested class in C++?

612






Can you pass a vector to a function?

540


What do you mean by inheritance in c++?

610


Why would you use pointers in c++?

630


which one is equivalent to multiplying by 2:Left shifting a number by 1 or Left shifting an unsigned int or char by 1?

724


In which situation the program terminates before reaching the breakpoint set by the user at the beginning of the mainq method?

594


What are the benefits of c++?

573


Is c++ still being used?

568


Write about c++ storage classes?

757


What are abstract data types in c++?

540


What is a null object in c++?

640