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 / sandeep kumar duey

we can see difference between abstract and inteface class
when we donig thread programming and use Runnable inteface
and Thread class because in case of when we need use
more than one class so in case we use Runnable intface
because we can use more than than one inteface with single
class but can extends only one class .
We also know that java does not support multipal inheritance

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How are variables stored?

923


Can we have multiple public classes in a java source file?

1102


why an outer class cannot be declared as private?

4222


What happens when you invoke a thread’s interrupt method while it is sleeping or waiting?

918


Is the empty set a singleton?

909


Does java have a compiler?

976


How many bytes is a url?

936


What is the difference between hashmap and hashtable? What is an interface?

1073


Can we have more than one package statement in source file ?

960


What is the same as procedures?

929


How do you test a method for an exception using junit?

1132


What is the difference between iterator and enumeration ?

955


What is overloading and overriding in java?

1158


What is command line argument

1150


Does java isempty check for null?

943