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

In real time project when will we use Abstract class. and
what are the difference between abstract and interface.

Answer Posted / gopi

abstract class means--it has atmost one abstract
method.remaining might be abstract or not.

interface means ---it has almostall abstract methods.u have
only the method specification.

In real time if u want to share the some common features in
the abstract class u have to extends the abstract class.
so, u need not wrote the body to the all the methods.
if u implement interface u should write body to the all
the methods.

Is This Answer Correct ?    12 Yes 13 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How database connectivity in XML is achieved?

2243


Name the class that is used to bind the server object with RMI Registry?

2170


What is ioc concept?

1207


Are there books about seam?

1111


the same information whether it will connect to the database or it will be used previous information?

1043


How are commas used in the intialization and iteration parts of a for statement?

1097


If we opened Windows Internet Explorer 4 times, does it starts 4 processes or 4 threads?

2209


Define prototype?

1063


What is a clone?

1062


What is local interface. How values will be passed?

1026


whats is statement and procedure

2213


Can constructors be synchronized in java?

1128


What restrictions are placed on the values of each case of a switch statement?

1024


Do you think that java should have had pointers?

1060


Difference between DurableSubscription and non- DurableSubscription?

2196