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
to find out the minimum of two integer number of two different classes using friend function
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.
Can an interface inherit a class?
What do you mean by overloading?
What is polymorphism used for?
can we make game by using c
What is super in oop?
What is static modifier?
Why oops is important?
what are the ways in which a constructors can be called?
What is the point of polymorphism?
What is polymorphism explain its types?
Why do we use inheritance?
What is the difference between static polymorphism and dynamic polymorphism?
What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?