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 are sets in java?

888


When is the arraystoreexception thrown?

961


What is pangram in java?

963


What is an immutable class? How to create an immutable class?

1003


What is http client in java?

1025


What is the difference between jdk, jre, and jvm?

1036


What is functional interface in java?

990


What is meant by overloading?

1004


When should I use a singleton?

981


What is difference between core java and java ee?

849


What is scope & storage allocation of static, local and register variables? Explain with an example.

962


What are "class access modifiers" in Java?

1053


Can static methods be inherited?

983


How can we make string upper case or lower case?

1025


What are bind parameters?

982