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 / menita

interface A
{
String test();
}

interface B
{
int test();
}


public class AB implements B

{

A obj1 = new A(){
public String test()
{
return "";
}
};
public int test()
{
return 0;
}
}

Is This Answer Correct ?    7 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the skills required for core java?

957


What do you mean by ordered and sorted in collections in java?

949


What is string :: npos?

1009


What are thread priorities and importance of thread priorities in java?

1072


What are the methods available in a class?

1023


What is the difference between == and === javascript?

1104


explain autoboxing in java?

942


What are meta-annotations?

939


What is the static import?

1057


How to optimize the javac output?

967


What is definition and declaration?

969


What are the properties of thread?

870


Tell me the Importent classes in net package?

1953


If try block is successfully executed, Then Is Finally block executed?

1049


What is java reflection?

932