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

we can not do with same method name. i tried it in jdk1.5,
not able to compile.

Is This Answer Correct ?    15 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the drawbacks of singleton class?

964


How do you format in java?

962


What is the purpose class.forname method?

926


What is a stringbuffer?

935


How do you convert boolean to boolean?

1094


Explain method overloading?

967


Which is bigger double or float?

918


What is an 8 bit word?

1007


Is 0 an irrational number?

1013


Explain the use of shift operator in java. Can you give some examples?

929


How many types of gc are there in java?

946


How many static init can you have?

1158


What is the difference between sop and work instruction?

889


What restrictions are placed on method overriding?

1120


Can a class be private or protected in java?

1011