How does Java deal with two classes that have the same class names and parameters, but have different functions and from different imported packages? how does Java know which one I am refering to? thank you
The compiler will tell you. At any rate, a class name is really a fully qualified class name. First, you should never have similarly named classes in different packages although it's legal. Second, if you must, you should use in your code, the fully qualified name of the class; the name that includes the package. Saludos!
Tony Alicea Senior Java Web Application Developer, SCPJ2, SCWCD
And when my army is complete, I will rule the world! But, for now, I'm going to be happy with this tiny ad:
Gift giving made easy with the permaculture playing cards