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

Interface A {
String test();
}

Interface B {
int test();
}

Create a class AB which must implements both A & B
interfaces.

Answer Posted / nitin

Ramesh,
I am agree with the technical boudries which you have
talked about. But this is a real problem and have to cope
with it.
We can not change the interfaces at all, but there should
be a way to achieve the goal, may be using inner class or
so.

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the Class Libraries ?

1002


What is t type java?

1013


Why put method is idempotent?

840


what is the messsage u r going to get from an objectoriented programing?

2050


How an object is serialized in java?

934


Why use string handling in Java?

992


What is the use of runnable interface?

1087


How many ways can we create singleton class?

917


Why is whitespace important?

1022


Why can't you declare a class as protected?

1053


What environment variables do I need to set on my machine in order to be able to run java programs?

962


What do you mean by platform independence of Java?

1069


What are some characteristics of interference class?

947


What is the final class modifier?

972


When to use runnable interface vs thread class in java?

933