how much classes are used in c++

Answers were Sorted based on User's Feedback



how much classes are used in c++ ..

Answer / thana_8889

We can use more classes these are userdefined and builtin
classes

Is This Answer Correct ?    17 Yes 1 No

how much classes are used in c++ ..

Answer / saurabh

We can use as many classes as we want in our program..

By the way AMIT, main() is a function and not a class

Is This Answer Correct ?    9 Yes 1 No

how much classes are used in c++ ..

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

how much classes are used in c++ ..

Answer / praveen

There is no limit,,Many class can be created.

Is This Answer Correct ?    0 Yes 0 No

how much classes are used in c++ ..

Answer / amit

WE CAN DEFINE AS MANY CLASSES AS WE WANT.THERE IS NO
RESTRICATION.BUT THERE IS ATLEST ONE CLASS i.e. main()

Is This Answer Correct ?    8 Yes 14 No

Post New Answer

More OOPS Interview Questions

What are the components of marker interface?

0 Answers  


Why and when is a virtual destructor needed?

5 Answers  


How to calculate the age from the date of birth by using the program?

2 Answers   Accenture,


What is multilevel inheritance explain with example?

0 Answers  


What are different types of JVM's? for example we use dalvik jvm for android then what about the remaining operating systems?

0 Answers   IBM,






inheritence with example

1 Answers  


What polymorphism means?

0 Answers  


why overriding?

3 Answers  


Please tell me the oops concept with detailed answer

9 Answers   EEE,


write a program to find the largest of two numbers without using for,while,switch,if else, conditional operator and do while using c++ pgmng language

3 Answers   Satyam,


what is the difference between virtual function and destoctor?

1 Answers  


If a=5, b=6, c=7, b+=a%c*2. What is the final value of b?

0 Answers  


Categories