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


where u use Abstraction and Interface in real time

Answers were Sorted based on User's Feedback



where u use Abstraction and Interface in real time..

Answer / praveen

If a user want to interact with my application he need an
interface. With the interface the user can access the
specific methods of a class that implemented the interface.
For example user want to call a method. He already know the
specific class implemented that interface, then he can call
the method through reference object.

Abstract class is used whenever a user restricted to
inheritance but not taking instance of a class or if any
methods are there that should be implement by the user.

Is This Answer Correct ?    6 Yes 0 No

where u use Abstraction and Interface in real time..

Answer / narasimha

Abstraction is used in framework and interfaces are used in
specification

Is This Answer Correct ?    4 Yes 0 No

where u use Abstraction and Interface in real time..

Answer / teja

When ever there is need of having same common features
among the subclasses of of super class we have to go for
AbstractClass,
When ever there is no common features for subclasses of
super class we have to go for interface

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Core Java Interview Questions

What is a java string?

0 Answers  


Hi ,i convert contrller as jSp And presentation as servlet ...will it do? if so what are advantage and idsadvantages

2 Answers   IBM,


what are the different non-access specifiers in java?

5 Answers  


Difference between a MenuItem and a CheckboxMenuItem?

1 Answers  


A abstract class extending an abstract class.Super class has both abstract and non-abstract methods.How can we implement abstract and non-abstract mehtods? Explain with snippet

3 Answers  


What is "this" keyword in java? Explain

0 Answers  


Can I uninstall java?

0 Answers  


What is the purpose of assert keyword used in jdk1.4.x?

0 Answers  


What happens when a class is made static like if a field or member is made static it becomes class variable and is shared by all the object of the class?

1 Answers  


how can i connect to database in a applet ?

1 Answers  


What about static nested classes in java?

0 Answers  


Can we sort hashset in java?

0 Answers  


Categories