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

Class AB Implements A,B{
String test(){
SOS("----");
}
int test(){
SOS("--------");
}
}

Is This Answer Correct ?    1 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is sizeof a keyword in java programming?

1026


Why is a string immutable?

950


What is the purpose of interface?

963


Explain Basics of OOP Language in java

999


Can we declare an interface as final?

1008


Can singleton class be serialized?

920


Explain thread in java?

1108


What do you understand by java virtual machine?

1130


How many bytes is a char in java?

986


when should you use stringbuilder class in a program?

940


What is java volatile?

976


Can we declare the main method of our class as private?

964


How do you sort a set in java?

869


In case of inheritance what is the execution order of constructor and destructor?

1071


What will happen if a thrown exception is not handled?

969