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

When we will use an Interface and Abstract class?

Answer Posted / abc

interface is used when we want all the methods implement
the methods differnetly in different situations.


Abstract class
We also use abstract classes to override the
abstract methods that it contains.Otherwise the child class
will mentioned as abstract.

Is This Answer Correct ?    6 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are advantages of exception handling in java?

975


What is java and why do we need it? Explain

1046


What are the two main uses of volatile in Java?

1010


How many bytes is a unicode character?

954


Which class is used by server applications to obtain a port and listen for client requests?

906


Can we execute java program without main method?

1008


What is identifier with example?

995


why doesn't java run on all platforms?

978


What is time complexity java?

947


How can I right-justify a string?

1094


Is char a data type in java?

918


What is the purpose of an interface?

982


How does arrays sort work in java?

958


What's the purpose of using break in each case of switch statement?

928


What initialize variables?

948