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 is reflexive association?
What are the two types of streams offered by java 8?
How do you square a number in java?
What is a finally block?
How do you generate random numbers in java?
How do you execute a thread in java?
Difference between string, string builder, and string buffer?
What is finally block?
Can an interface extend a class?
Can vector have duplicates in java?
What happens to a static var that is defined within a method of a class?
Explain the init method?
What is a map? What are the implementations of map?
What is a boolean structure?
What is the declaration statement?