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

When wait(), notify(), notifyall() methods are called does it releases the lock or holds the acquired lock?

1012


Can you access the private method from outside the class?

975


What is Major and importance difference between for and foreach loop ?

1154


Why do we use bufferedreader?

1015


Can java inner class be static?

1028


What is meant by 'bit masking' in java?

1192


How do I convert a numeric ip address like 192.18.97.39 into a hostname like java.sun.com?

1016


Implement a stack with push (), pop() and min() in O(1) time.

1115


Is java util list serializable?

939


What does those terms actually mean included in the j.d.k i.6?

2126


What is keyword in oop?

957


What is the independent variable in an experiment?

962


Is it possible to write a regular expression to check if string is a number?

1033


I want to re-reach and use an object once it has been garbage collected. Define how it’s possible?

1016


What is internal variable?

1016