Answer Posted / umashankar mishra
yes..becoz every thing place in class including main()
and object is created by new operator
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
write a C++ program for booking using constructor and destructor.
How do you achieve polymorphism?
What is class encapsulation?
What is ambiguity in inheritance?
Question: Write a program that prints a paycheck. Ask the program user for the name of the employee, the hourly rate, and the number of hours worked. If the number of hours exceeds 40, the employee is paid “time and a half”, that is, 150 percent of the hourly rate on the hours exceeding 40. Be sure to use stepwi se refine ment and break your solution into several functions. Use the int_name function to print the dollar amount of the check.
Why do we use inheritance?
What is polymorphism explain its types?
What is inheritance write a program to show use of inheritance?
What is abstract class in oops?
Which language is not a true object oriented programming language?
What is the types of inheritance?
What does sksksk mean in text slang?
What is polymorphism give a real life example?
just right the logic of it 1--> If few people are electing then every time ur candidate should win 2--> arrange books in box, if box carry weight == books weight then take another box..... find the no of box required.
What are classes oop?