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 are the components of marker interface?
Why and when is a virtual destructor needed?
How to calculate the age from the date of birth by using the program?
What is multilevel inheritance explain with example?
What are different types of JVM's? for example we use dalvik jvm for android then what about the remaining operating systems?
inheritence with example
What polymorphism means?
why overriding?
Please tell me the oops concept with detailed answer
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
what is the difference between virtual function and destoctor?
If a=5, b=6, c=7, b+=a%c*2. What is the final value of b?