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

What is difference between null and void?

978


What is the use of arraylist in java?

1096


Can we sort array in java?

956


How many bytes is 255 characters?

984


What is the difference between static method and instance method in Java?

1216


What is the difference between sleep and wait in java?

966


What are assembly attributes?

1010


Explain about object oriented programming and its features?

1015


What is the final method?

1074


What is a finally block?

986


How to create a custom exception?

995


take an array with -ve and +ve value both.find out the nearest value of 0(zero).if two values are same like(-2 and +2)then extract +2 is nearest of 0(zero).

1983


Variables used in a switch statement can be used with which datatypes?

999


How many arguments can a method have java?

1029


What are the restrictions imposed on method overriding?

1008