What are class and object in C++?



What are class and object in C++?..

Answer / 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

More C++ General Interview Questions

What data encapsulation is in c++?

0 Answers  


Briefly describe a B+ tree. What is bulk loading in it?

0 Answers   Wipro,


Generally variables are stored in heap memory. When he variables are created in stack?

4 Answers   Persistent,


What is the difference between struct and class?

1 Answers  


What is a c++ class?

0 Answers  


Mention the ways in which parameterized can be invoked.

0 Answers  


Can we inherit constructor in c++?

0 Answers  


Can union be self referenced?

0 Answers  


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

0 Answers  


What is name mangling?

3 Answers  


Write a program using display() function which takes two arguments.

0 Answers  


What is object file? How can you access object file?

0 Answers  


Categories