What is the difference between and interface and an
abstract class ?
Answer Posted / sathish kumar.t
ABSTRACT CLASS Interface
It consist of Static It consist of non- static member
member variables variables
It consist of non-abstract It consist of only abstract
and abstract methods methods
it consist of private and It consist of public classes
protected classes
It uses the keyword Extends uses the keyword Inplements
If subclass extends the If the subclass implements
abstact class, cannot extend interface, can implement any
any other class number of interfaces
Is This Answer Correct ? | 19 Yes | 23 No |
Post New Answer View All Answers
Is data hiding and abstraction same?
what is the drawback of classical methods in oops?
What is overloading in oops?
Where is pseudocode used?
What is a class and object?
Hi friends I have experience of 6 months in website design and maintanence. Now i am looking for other IT jobs.. to switch platform. please post any interview you know in chennai.
What is encapsulation c#?
What does and I oop mean?
Why it is called runtime polymorphism?
What is polymorphism used for?
Plese get me a perfect C++ program for railway/airway reservation with all details.
What are benefits of oop?
just right the logic of it 1--> If few people are electing then every time ur candidate should win 2--> arrange books in box, if box carry weight == books weight then take another box..... find the no of box required.
What is a class in oop?
What is oops and why we use oops?