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 the difference between abstract class and
Interface?where we can use it in realtime projects?

Answer Posted / kala

1) if the class is abstract. this class con't instatiate any
object. if we that class implemented with interface, we can
instatiate object with respect interface methods.

2) if we extend that particular abstract class, we must be
implemented all those abstract methods in that class.
otherwise it will automatically become abstract class. in
interface, if we implements the interface not compalsory
implemented, we can use those class ref.

Is This Answer Correct ?    47 Yes 36 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is integer passed by reference in java?

1061


Is java hard to learn?

962


List out five keywords related to exception handling ?

1058


List the three steps for creating an object for a class?

1014


Is arraylist sorted in java?

1056


Which way a developer should use for creating thread, i.e. Sub classing thread or implementing runnable.

979


How to add menushortcut to menu item?

1040


What's the base class in java from which all classes are derived?

1304


What are the Main functions of Java?

1129


What restrictions are placed on method overriding?

1238


What is default locale java?

1171


Is null == null in java?

1161


What is double word?

1018


What is a loop java?

1101


Can you inherit from an abstract class java?

1044