Answer Posted / k.premalatha
class is a generalisation or mould or template of an object.
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What is the difference between inheritance and polymorphism?
Can bst contain duplicates?
Give two or more real cenario of virtual function and vertual object
class type to basic type conversion
What is the difference between static polymorphism and dynamic polymorphism?
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.
What is difference between multiple inheritance and multilevel inheritance?
What is static modifier?
Why can't we have instance(stack) of a class as a member of the same class like eg.Class A{A obj;} as we can have self refential pointer
What is polymorphism in oops with example?
What is meant by multiple inheritance?
What is abstract class in oop?
i=20;k=0;
for(j=1;k-i;k+=j<10?4:3)
{
cout< what are the ways in which a constructors can be called? What is the significance of classes in oop?