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
Is arraylist dynamic in java?
What is the purpose of static methods and static variables?
What is the file type?
What is the need of transient variables in Java ?
What is the instance of an object?
What is javac in java?
What are the four pillars of java?
Name some OOPS Concepts in Java?
From the two, which would be easier to write: synchronization code for ten threads or two threads?
What is the difference between JDBC 1.0 and JDBC 2.0?
Why java strings are immutable in nature?
What is the meaning of 3 dots in java?
What are green threads in java?
Difference between collection, collection and collections in java?
what is optional in java 8?