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 is main method?

1095


Can a class have multiple subclasses?

1152


Is set ordered in java?

1037


What is a numeric literal?

1142


What is meant by collection in java?

1137


What is static block?

1185


How do you declare an array that will hold more than 64KB of data?

1387


Is zero a positive integer?

1143


Mention some interfaces implemented by linked list in java.

1079


What is variable length arguments in java?

1035


How arrays are stored in memory in java?

1022


What methods are used in Servlet?Applet communication?

2305


What is serialization in java?

1108


What is the collections api?

1118


How do you remove spaces in java?

1082