Definition of class?

Answer Posted / sanjaya mohapatra

CLASS IS A USER DEFINE DATA TYPE.IT IS THE WAY OF BINDING
DATA AND ITS ASSOCIATIVE FUNCTIONS.IT ALLOWS TO HIDING THE
FUNCTION IF NECESSARY FOR EXTERNAL USE.WHEN A CLASS IS
CREATED A OBJECT WILL CREATED.

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does scope resolution operator do?

793


What is the use of default constructor?

801


Is c++ platform dependent?

833


Where must the declaration of a friend function appear?

731


Which one is better- macro or function?

851


What is the best c++ book for beginners?

814


Difference between declaration and definition of a variable.

875


How does c++ structure differ from c++ class?

822


What are stacks? Give an example where they are useful.

772


What is format for defining a structure?

809


Explain class invariant.

769


Explain linear search.

826


What is split a string in c++?

901


What does std mean in c++?

792


What is a singleton class c++?

749