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...

Package1 and Package2 both have a method name lets say
"methodA" with different implementation. When I import both
the packages in a java class how can I use both the methods?

Answer Posted / swwety

it will give compilation error

Is This Answer Correct ?    0 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can set contain duplicates?

996


Define inheritance with reference to java.

1090


What does the exclamation mark mean in java?

1250


State one difference between a template class and class template.

1068


What is the difference between an argument and a parameter?

991


How to sort an array from smallest to largest java?

988


What is the difference between a method and a function in alice?

1200


How many types of interfaces are there?

1075


What is udp in java?

978


What are the string methods in java?

1097


What are drawbacks of singleton class?

958


How many types of literals are there in JAVA?

1047


How can I become a good programmer?

983


How do you create a null object?

1087


What are the two types of java?

1175