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

difference between Abstract and Interface?

Answer Posted / kumar rk

interface
---------
in java interfaces are fully unimplemented structures.
here all methods are public and abstract by default(added by compiler)

abstract class
--------------
abstract classes are partially implemented structure.
means it can have abstract method or may be not.
but in every case object cannot be created.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Are enterprise beans allowed to use thread.sleep()?

1146


What is an abstract method?

1055


Difference between swing and awt?

1281


Where we can write Rmi registry in the code, without having to write it at the command prompt?

2765


What must a class do to implement an interface?

1187


When is the best time to validate input?

1098


How task's priority is used in scheduling?

2293


What is the difference between system.out ,system.err and system.in?

1097


What is meant by method chaining?

1139


What is the relationship between the canvas class and the graphics class?

1040


What is JTS?

2365


What are the steps to write p-to-p model application?

2475


Which are the different segments of memory?

1074


Whats new with the stop(), suspend() and resume() methods in jdk 1.2?

1041


what is meant by JRMP?

2342