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 and interface?
can i give real time example for the two topics?

Answer Posted / mahesh yadav ch

interface is a abstract, but abstract is not a interface.

interface is fully-unimplemented structure. where as
abstract is partly implement or may not implement structure.


interface contains statements only(public static final int
a;public void f1();).but abstract contains abstract methods
& variables

Is This Answer Correct ?    12 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define how does a try statement determine which catch clause should be used to handle an exception?

1061


Can we clone singleton class in java?

906


Why declare Main() method as a static in java ?

1018


Do I need java on my pc?

974


What is nan in java?

940


Which java collection does not allow null?

1089


Can we nested try statements in java?

1042


How a string is stored in memory?

953


What is json parser in java?

1002


What is the use of callablestatement?

961


Is linked list a linear or non-linear data structure?

912


Can we declare a static variable inside a method?

951


What is a heavyweight component?

977


Where are register variables stored?

966


How do you take thread dump in java?

939