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

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 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Do I need java on my pc?

1044


Why is String immutable?

1057


What is the equal sign?

1118


What is classes in java?

937


java program with complete 4 oops concepts implemented example

3154


You can create a string object as string str = “abc”; why cant a button object be created as button bt = “abc”;? Explain

988


Explain the importance of import keyword in java?

1010


How to sort a collection of custom Objects in Java?

1056


Where pragma is used?

1042


Can we sort list in java?

973


Can you call a method in a method?

1088


Can a class be a super class and a sub-class at the same time? Give example.

1548


How many bits are in a sentence?

1167


what is predefined function in java?

980


Why is it important to initialize a variable?

989