What is differance between Abstract and Interface

Answer Posted / jasbir singh

An abstract class is a class with at least one function
without definitions.

An Interface is a class which only contains function
declarations, all the functions are specifically and
separately defined later. And you can't create objects of
these classes.

Is This Answer Correct ?    12 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which is not an object oriented programming language?

544


What is ambiguity in inheritance?

625


What is the problem with multiple inheritance?

586


What is encapsulation in simple terms?

541


What is difference between polymorphism and inheritance?

618






What exactly is polymorphism?

611


Advantage and disadvantage of routing in telecom sector

790


What is a function in oop?

633


What is interface? When and where is it used?

1664


Templates mean

1592


What are two types of polymorphism?

614


What does oop mean in snapchat?

688


What is object and example?

604


What is stream in oop?

841


What are the components of marker interface?

602