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 |
Define a class to represent a bank account. Include the following members: Data Members: Name of the Depositor Account Number Type of Account Balance amount in the account Member Functions: To assign the initial values. To deposit an account. To withdraw an amount after checking the balance. Write a C++ main program to display account number, name and balance.
why oops need in programming
What are the benefits of polymorphism?
What is multilevel inheritance explain with example?
How to execute business logic for only once ..?even though user clicks submit button multiple times by mistake..? (i disabled JavaScript)
Prepare me a program for the animation of train
When will a constructor executed?
what is an qt4 interface?
Hi friends I have experience of 6 months in website design and maintanence. Now i am looking for other IT jobs.. to switch platform. please post any interview you know in chennai.
Petrol pump mgt. system: To design a program that display an interface for the sale of the Petrol and then make the entries at the backend in the database.
What is function overloading?,describe it with the example.
What is the difference between a mixin and inheritance?