what is difference between abstract class and interface?

Answers were Sorted based on User's Feedback



what is difference between abstract class and interface?..

Answer / bipin chandra sai.s

abstract means when don't have definition but it has only
declaration is called abstract class,and abstract class
also donot have any objects.

interface means in the concept of multiple inheritance we
use interface for declaring the subclasses instead of class
declaRATION we use interfaces

Is This Answer Correct ?    4 Yes 0 No

what is difference between abstract class and interface?..

Answer / shubham soni

There is no difference in the functionality of these two.The
only difference is that a class cannot extend an abstract
class if it already is extending some other class.An
interface on the other hand can be implemented in any
situation which makes them very powerful.Also user defined
exceptions can be defined within an interface itself which
is not the case with an abstract class.

Is This Answer Correct ?    3 Yes 0 No

Post New Answer

More General Aptitude Interview Questions

A four digit number is to be formed using the digits 1 to 7 All digits of the number are different and repetition is not allowed. 1. How many such numbers can be formed ? 2. How many such numbers are divisible by 4 ?

11 Answers   Infosys, MMI, Naval Academy, SMN, TCS,


pls send me model question question and answer paper of 5 years. my email add:goutamda126@rediff.com pls send me as early as poissible ..........

6 Answers   Bank of Baroda, Tata Steel Limited,


what do you know about banking industry?

2 Answers  


A worker pay Rs20 a day ,he works 1,1/3,2/3,1/8,3/4 in a week.What is the total amount paid to the worker.

0 Answers   CMC,


what can you contribute to the fiscal commission?

0 Answers  






A student is ranked 13th from right and 8th from left. How many students are there in totality ?

0 Answers   Canara Bank, EDS,


what sort of questions may be asked

0 Answers   ICICI,


What are software testing metrics

1 Answers   Persistent,


Find the next letter in the series A,C,F,J,0--

0 Answers   DSQ Software,


Number Series 3,18,4,24,5,30,?

6 Answers   TCS,


The diameter of a wheel is 1.26m. If this wheel rotates 500 rotations, how long it can travel?

0 Answers   Mecon,


The First Prime Minister of Sri lanka___________

6 Answers  


Categories