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

Is it really so difficult? Use fully qualified names. :D

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the difference between string, string builder, and string buffer in java?

1120


How do you sort an array in java?

989


What happens to a static var that is defined within a method of a class?

1026


How hashmap works in java?

1038


Does list allow duplicates in java?

927


What does this () mean in constructor chaining concept?

1118


What is hotjava?

1001


What do you understand by the term wrapper classes?

997


How does queue work in java?

979


What is the effect of keeping a constructor private?

944


What do you mean by Hash Map and Hash Table?

1082


What is flag in java?

986


Is overriding possible in java?

951


How will you communicate between two applets?

1155


What is string builder in java?

1005