Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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 father F has 5 sons, p,q,r,s,t. Not necessarily in this order. Two are of same age. The eldest and youngest cannot be twins. T is elder to r and younger to q and s has three older brothers. who are the twins?

0 Answers   Cadence,


Q)There are two pipes A and B. If A filled 10 liters in an hour, B can fill 20 liters in same time. Likewise B can fill 10, 20, 40, 80, 160…... If B filled in 1/16 of a tank in 3 hours, how much time will it take to fill the tank completely?

3 Answers   TCS,


if the ratio of men to women in a particular dormitory is 5:3 which of the following could not be the number of residents in the dormitory

1 Answers  


Complete the series. 3, 8, --, 24, --, 48, 63

1 Answers   Accenture, BSNL,


Which of the following will be the changed form of the word OBLIQUE when the word is written again by substituting each vowel by the 2nd letter following it in the English alphabet and substituting each consonant by the 3rd letter following it in the English alphabet? (1) MEDGTSD (2) RDNLSXH (3) QEOKTXG (4) QEOKTWG (5) None of these

2 Answers  


A number of children are standing in a circle. They are evenly spaced and the 6th child is directly opposite the 20th child. How many child are there altogether

5 Answers  


4,5,9,27,123,_ what is next number?

11 Answers   Maersk Line, Wipro,


where is genarak driving aptitude

0 Answers  


If the area of a square has increased by 69%,by what % has its side increased?

0 Answers   IBM,


There are 5 red shoes, 4 green shoes. If one drasw randomly a shoe . what is the probability of getting redshoe

4 Answers   CMC,


16) There are two water tanks A and B, A is much smaller than B. While water fills at the rate of one litre every hour in A, it gets filled up like 10, 20, 40, 80, 160... in tank B. (At the end of first hour, B has 10 litres , second hour it has 20, and so on). If tank B is 1/32 filled after 21 hours, what is the total duration required to fill it completely? a) 26 hrs b) 25 hrs c) 5 hrs d) 27 hrs

6 Answers   CTS, iSoft, TCS, Wipro, Yahoo,


If a salesman's average is a new order every other week, he will break the office record of the year. However, after 28 weeks, he is six orders behind schedule. In what proportion of the remaining weeks does he have to obtain a new order to break the record?

5 Answers   TCS,


Categories