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

How do you detect memory leaks?

1058


take an array with -ve and +ve value both.find out the nearest value of 0(zero).if two values are same like(-2 and +2)then extract +2 is nearest of 0(zero).

1979


What is the diffrence between inner class and nested class?

1088


Can a class have a static inner class?

1082


What is the final field modifier?

974


What will happen if non-synchronized method calls a static synchronized method and what kind of lock it acquires?

1099


Why do we use return statement?

1037


Is java ee a framework?

984


What if constructor is protected in java?

1120


What is the purpose of the finalize() method?

1246


What is an i/o filter?

1816


What is JVM and is it platform independent?

1051


Explain the public class modifier?

954


How do you make a thread in java?

1094


Write a program to calculate factorial in java?

1001