what is the difference b/w abstract and interface?
Answer Posted / n.suresh
Abstract can,t support multiple inheritence.
Interface can suppport the multiple inheritence.
Abstract have accesbulity modifiers.
Interface have no accesbulity modifiers.
| Is This Answer Correct ? | 11 Yes | 0 No |
Post New Answer View All Answers
write a C++ program for booking using constructor and destructor.
What is the real time example of encapsulation?
what is the sylabus for priliminaries?
They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?
What is static modifier?
How to call a non virtual function in the derived class by using base class pointer
What are the data types in oop?
Is html an oop?
Why it is called runtime polymorphism?
#include
What is encapsulation example?
What is overloading in oop?
Why is object oriented programming so hard?
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 object and example?