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

What is a boolean output?

955


How do you add an element to a hashset in java?

1001


What is type conversion in java?

1034


What is the purpose of encapsulation?

1007


What is the difference between iterator and list iterator?

1026


Can you override private or static method in java?

970


What is a double?

1091


Why set is used in java?

1002


What are the six ways to use this keyword?

1056


Are functions objects in java?

1066


java Technical questions asked by JPMC

5072


Why is a constant variable important?

950


Explain the purpose of garbage collection in Java?

1021


What does the “static” keyword mean?

1096


What is the difference between Java1.4 and Java1.5

2302