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 the maximum size of hashmap in java?
What are the difference between string, string builder, and string buffer in java?
How can we use primitive data types as objects?
Can an interface be defined inside a class?
why we use merge option in hybernate pls give a ex snippet
What is difference in between java class and bean?
What is the final keyword in java?
What is the dot operator?
What is %02d?
How do you calculate square roots?
How can you make a class serializable in java?
What is the type of lambda expression?
What is a superclass?
What is functional interface in java example?
How to overcome the exception object reference not set to an instance of object?