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 languages are pass by reference?

992


Which package is used for pattern matching with regular expressions?

1057


a thread is runnable, how does that work? : Java thread

931


What is sleep method?

1046


Why is multithreading important?

891


How many bits is a string?

942


Can we sort list in java?

938


What is lambda expression in java?

970


What are the differences between throw and throws?

1035


What is difference between static class and singleton pattern?

952


What is difference between overloading and overriding in java?

969


Can a main method be declared final?

1005


What is the epoch date?

957


describe method overloading

957


What is the difference between inner class and nested class?

1009