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 / nanda

diff b/w abstract class and interface
1.Abstract class contain both normal fn as well as Abstract
fn wheras Interface can define only abstract fn.
2.by default declared variable in interface is static and
final.
in realtime projects we use inerfaces in AWT OR SWING,where
we implement the inerfaces and use them

Is This Answer Correct ?    30 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you download stubs from Remote place?

1773


How to sort an unsorted array in java?

1114


What are the types of inner classes (non-static nested class) used in java?

1053


How do you avoid global variables?

1077


Explain about procedural programming language or structured programming language and its features?

1088


What type of variable is error flag?

1058


What is collection api?

1038


What is an empty list in java?

958


Can each java object keep track of all the threads that want to exclusively access it?

944


What do you mean by stream pipelining in java 8?

1210


Can you inherit from an abstract class java?

984


What is complexity and its types?

1021


What are the 8 data types in java?

984


whar are the draw backs of programming lang step by step in Clang and next in C++ and next and in Java nad in .Net

2088


Is array synchronized in java?

1031