how much classes are used in c++

Answer Posted / preeti goyal

In each program main is a function. but main is also hold
by a class so atleast one class is necessary.

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

why reinterpret cast is considered dangerous?

1891


What is inheritance and how many types of inheritance?

607


What is polymorphism explain?

674


How do you answer polymorphism?

569


What is polymorphism what is it for and how is it used?

567






What is polymorphism and example?

581


Why can't we have instance(stack) of a class as a member of the same class like eg.Class A{A obj;} as we can have self refential pointer

1603


Can an interface inherit a class?

549


Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box

2023


What is the renewal class?

2155


Why is static class not inherited?

589


Can a destructor be called directly?

591


what is different between oops and c++

1992


write a program to find 2^n+1 ?

1538


What is interface in oop?

650