What is the difference between and interface and an
abstract class ?
Answer Posted / murali
1.interface contains only abstract methods and varibles
2.whenever a class is not implementing that interface that
class should be an abstract class
3.An interface cannot implement another interface but an
abstract class can implement onther interface
4.An interface can extend more than one interface
5.An abstract can implment more than one interface
| Is This Answer Correct ? | 5 Yes | 5 No |
Post New Answer View All Answers
What is object in oop?
What does it mean when someone says I oop?
Will I be able to get a picture in D drive to the c++ program? If so, help me out?
what type of question are asked in thoughtworks pair programming round ?
What is pointer in oop?
Explain the advantages of 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.
What is multilevel inheritance in oop?
What is constructor in oop?
Why do we use class?
What is super in oop?
Why do we need oop?
What is solid in oops?
There are two base class B1,B2 and there is one class D which is derived from both classes, Explain the flow of calling constructors and destructors when an object of derived class is instantiated.
Why is oop useful?