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 / akhil agarwal

Interface A
{
string test();
}
Interface B
{
int test();
}
class AB implements A,B
{
string test();
int test();
}

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you declare an array in java?

1134


What is the generic function?

1038


What is the java virtual machine?

1139


What is the char data type?

1055


Explain the difference between private, public, package and protected in java?

1095


What is primitive data type in java?

1035


Explain what is Marker interface?

1135


Which of the following is not an isolation level in the JDBC

2182


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

1143


What do you mean by hashing?

1164


What is the purpose of void class?

1109


What is flush buffer?

1121


What is java life cycle?

1046


What do you mean by static variable?

1116


Can we use catch statement for checked exceptions?

1028