Tell me the scenario,Where we can use interfaces or
Abstract class.And What is the difference between
interfaces and abstract class?

Answer Posted / seshu

abstract class contains function prototypes and function
definations also
but interface ccontains onlu function prototypes which are
used in deriving object declarations

Is This Answer Correct ?    8 Yes 18 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is an example of genetic polymorphism?

651


Describe these concepts: Polymorphism, Inheritance and Abstraction.

614


What is difference between abstraction and encapsulation?

594


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?

1944


What is abstract class in oop?

534






Get me an image implementation program.

1559


what type of questions

1697


How Do you Code Composition and Aggregation in C++ ?

24200


Which type does string inherit from?

616


Explain virtual inheritance?

683


What is destructor give example?

605


Which method cannot be overridden?

580


What is constructor in oop?

589


What is polymorphism and why is it important?

562


write a program to find 2^n+1 ?

1551