how much classes are used in c++
Answers were Sorted based on User's Feedback
We can use more classes these are userdefined and builtin
classes
| Is This Answer Correct ? | 17 Yes | 1 No |
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 |
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 |
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 |
What is the use of fflush(stdin) in c++?
How to hide the base class functionality in Inheritance?
What is polymorphism what is it for and how is it used?
Which is better struts or spring?
Why do we use encapsulation in oops?
What is encapsulation in ict?
In c++ there is only virtual destructors, no constructors. Why?
What are different oops concepts?
what uses of c++ language?
Please tell me the oops concept with detailed answer
Can we have inheritance without polymorphism?
Why interface is used?