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 r in java?

1013


Why is java called java?

1006


How do you convert an int to a double in java?

1023


Discuss 2D arrays.

1021


What is final keyword in java? Give an example.

983


What is identifier in java?

1058


What are the legal operands of the instanceof operator?

984


What type of variable is gender?

949


When throws keyword is used?

962


I am a fresher and know core java, c languge, html, css etc if I am illegible for any job then send it on my email tatranakshay276@gmail.com

1659


What is a method declaration?

953


Is object a data type in java?

1069


Explain the difference between serializable and externalizable in java?

1008


What is the difference between preparedstatement and statement in java?

1080


How do you create a bulleted list?

1220