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...


Difference between Interface & Abstract class?

Answers were Sorted based on User's Feedback



Difference between Interface & Abstract class?..

Answer / ravikiran(aptech mumbai)

Interface is purely abstract.all the methods declared inside
the interfaqce are by default abstract and public.

where as an abstract class can have abstarct as well as non
abstact methods.

And an abstract class may heve no abstract methods at all.
we will do like this to restrict the creation of instance
ofthat particular class.

Is This Answer Correct ?    3 Yes 1 No

Difference between Interface & Abstract class?..

Answer / sads

dsadsa

Is This Answer Correct ?    3 Yes 2 No

Difference between Interface & Abstract class?..

Answer / abnish kumar rajput

Abstract class is a class with may having abstract methods
or not.Whereas Interface supports multiple inheritences of
classes note that java does not directly support this concept.

Is This Answer Correct ?    1 Yes 0 No

Difference between Interface & Abstract class?..

Answer / janet

1.All the methods declared inside an interface are abstract
where as abstract class must have atleast one abstract
method and others may be concrete or abstract.

2.In abstract class ,keyword abstract must be used for the
methods where as interface we need not use that keyword for
the methods.

3. Abstract class must have subclass where as interface
can't have subclasses.

Is This Answer Correct ?    3 Yes 3 No

Difference between Interface & Abstract class?..

Answer / anjani kumar jha

Interface means 100% abstracness............
Abstract class means may be 100% abstracness............

There r lots of difference b/w but 2 major difference is

1)Abstract class is Tightly coupled with class and
interface is loosely coupled.

2)Interface is used to support multiple inheritance in
java...think hard.......

Thanks and Regards
Anjani Kumar Jha
9623154095

Is This Answer Correct ?    1 Yes 3 No

Post New Answer

More Core Java Interview Questions

What are different access specifiers in java? Explain

0 Answers  


What is autoboxing and unboxing?

0 Answers  


Explain which of the following methods releases the lock when yield(), join(),sleep(),wait(),notify(), notifyall() methods are executed?

0 Answers  


What is an iterator java?

0 Answers  


Explain the purpose of garbage collection in Java?

0 Answers   BirlaSoft,


What is bifunction in java?

0 Answers  


Is arraylist zero based?

0 Answers  


What is Mutex (Mutual Exclusion Object) ?

0 Answers   Ciena,


Explain about static imports in java?

0 Answers  


What is meant by 'Class access modifiers'?

0 Answers   HCL,


What are the two ways to create a thread?

0 Answers  


Hi Friends, I am new to java. Can u explain about thread concept.How i know one thread is locked, and how can i force or acquire another thread for lock . Finally how to know thread is released from lock. Explain types of lock(like method level and block level) in thread.

1 Answers  


Categories