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 / sandeep vudutala

interface A
{
String test();
}

interface B extends interface A
{
int test();
}

public Class AB implements B

{

public String test()
{

}

public int test()
{
}

}

Is This Answer Correct ?    5 Yes 23 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between menuitem and checkboxmenu item?

1289


Is java code slower than native code?

1012


What is the difference between declaration and definition in java?

1018


What is default switch case? Give example.

965


What is OOP Language?

1027


Which package is imported by default?

1040


What do you mean Abstraction in java?

1045


What is method overloading in JAVA? Why is it not present in C ?

1053


What is string and example?

993


How will you load a specific locale?

934


What is data member in java?

971


what are synchronized methods and synchronized statements? : Java thread

955


What is the difference between a static and a non-static inner class in java programming?

1005


Can a set contain duplicates?

909


Does variable declaration allocate memory?

996