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

How static variable work in java?

1124


Why do we need array in java?

1015


how is final different from finally and finalize in java?

1056


Does constructor be static?

1035


What are the differences between wait() and sleep()?

1016


what methods would you overwrite in java.lang.object class?

1002


How do you use substring in java?

1138


Convert a BST into a DLL and DLL to BST in place.

1116


What is difference between path and classpath in java?

1023


Can we use a default constructor of a class even if an explicit constructor is defined?

1106


What is the purpose of a volatile variable?

1060


Write a program to reverse array in place?

1069


What is supplier in java?

1003


Can we use string in the switch case?

1043


How many types of keywords are there?

994