Answer Posted / poorna chandar rao
diffrence bettwen the abstract class and interfaces
abstract class is having abstarct methods and concrete
methods abstarct class as compulosry having subclass for the
implementation abstarct methods and abstarct does not
support multiple inheritence
because one subclass extend the abstract class their is no
scope for extends for another class because it is not
support for the multiple inheritence
ex 1: abstract class one
2 class two extends one extend three (not valid)
but interface having only method signature in the interface
their is concrete method and it supports the multiple
inhirtence because
ex: interface one
class two implements one extends three(valid)
onc class implemens the interface and extends to another
class that is support the multiple inhertince
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is coupling in oop?
What is basic concept of oop?
what are the realtime excercises in C++?
Will I be able to get a picture in D drive to the c++ program? If so, help me out?
String = "C++ is an object oriented programming language.An imp feature of oops is classes and objects".Write a pgm to count the repeated words from this scenario?
What is the difference between abstraction and polymorphism?
What is advantage of inheritance?
What is the real time example of inheritance?
What is overloading in oop?
What is the types of inheritance?
What are the 3 principles of oop?
Write a program to reverse a string using recursive function?
Following are the class specifications: class {int a}; class {int b}; Using friend funtion,calculate the max of two objects and display it.
Which is better struts or spring?
Why interface is used?