Answer Posted / deepak kumar
using virtual keyword we can change the defination of base
class method via overriding them in derived class.
Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
can we make game by using c
What is the difference between a constructor and a destructor?
State what is encapsulation and friend function?
What are the 4 pillars of oop?
What is Difference Between Inheritance and creating object and getting data? means Class A extends B{ B.getMethod();} (OR) Class A{ b obj=new B(); obj.getMethod(); }
What does it mean when someone says I oop?
2. Give the different notations for the class.\
• What are the desirable attributes for memory managment?
What are the 4 main oop principles?
to find out the minimum of two integer number of two different classes using friend function
why reinterpret cast is considered dangerous?
write a program to enter a string like"sunil is a good boy and seeking for a job" not more than 10 characters including space in one line,rest characters should b in other line.if the next line starts from in between the previous word,then print whole word to next line.
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 does and I oop mean in text?
What is abstract class in oops?