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

What is scope & storage allocation of global and extern variables? Explain with an example

1091


How can you set an applet’s height and width as a percentage?

976


What are constructors in java?

1193


What is the relationship between class and object?

1091


Where is stringbuffer stored?

1043


What is a return in java?

1075


Explain the importance of finally block in java?

1021


What happens if main method is not static?

1048


What is Java Annotations?

1172


What is the final method?

1121


Can we have this () and super () together?

1095


Describe what a thread-local variable is in java?

1075


Program to Find the second largest element in an array.

1257


Why do we create threads in java?

1343


Is a method a function?

1094