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

Explain about static nested classes in java?

1108


What is get () in java?

1107


Which is better ascii or unicode?

1038


What are annotations in java?

1132


What is difference between overloading and overriding in java?

1070


What do you mean by aggregation?

1401


Explain about fail safe iterators in java?

1076


What is data type in java?

937


What is the difference between scrollbar and scrollpane?

1129


What is an immutable class?

1208


What is the biggest integer?

1103


Can you use abstract and final both with a method?

1154


What is serialversionuid?

1149


What is class forname?

1090


What are different type of exceptions in java?

1010