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 is reflexive association?

1870


What are the two types of streams offered by java 8?

979


How do you square a number in java?

1101


What is a finally block?

1027


How do you generate random numbers in java?

1057


How do you execute a thread in java?

988


Difference between string, string builder, and string buffer?

1171


What is finally block?

1121


Can an interface extend a class?

1053


Can vector have duplicates in java?

990


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

1078


Explain the init method?

1031


What is a map? What are the implementations of map?

1145


What is a boolean structure?

1129


What is the declaration statement?

988