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

suppose we have an interface & that interface contains five
methods. if a class implements that interface then we have
to bound that to give tha definition of all five methods in
that class. If we declare that class as abstract then can
we call only two methods to give the deinition of that
method & i don't want to give the definition of all the
methods? can it possible

Answer Posted / srini

i think we can accomplish by using adapter design pattern.

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a function to find out longest palindrome in a given string?

1063


What is string pool in java?

1033


Which variable is the independent variable?

990


Why for each loop is used?

1024


Which sorting is best in java?

1010


How do you override a method in java?

1018


How to make a read-only class in java?

1180


What is nextline method in java?

1043


worst case complexities of Quick sort and Merge sort.

1041


Can java list be null?

1002


What is string variable?

1063


What is private public protected in java?

1047


Why is it called boolean?

1016


what is interface in java? Explain

982


Is there any way to skip finally block of exception even if some exception occurs in the exception block?

1075