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
What are the difference between string, string builder, and string buffer in java?
How do you sort an array in java?
What happens to a static var that is defined within a method of a class?
How hashmap works in java?
Does list allow duplicates in java?
What does this () mean in constructor chaining concept?
What is hotjava?
What do you understand by the term wrapper classes?
How does queue work in java?
What is the effect of keeping a constructor private?
What do you mean by Hash Map and Hash Table?
What is flag in java?
Is overriding possible in java?
How will you communicate between two applets?
What is string builder in java?