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 / swwety
it will give compilation error
| Is This Answer Correct ? | 0 Yes | 6 No |
Post New Answer View All Answers
Can set contain duplicates?
Define inheritance with reference to java.
What does the exclamation mark mean in java?
State one difference between a template class and class template.
What is the difference between an argument and a parameter?
How to sort an array from smallest to largest java?
What is the difference between a method and a function in alice?
How many types of interfaces are there?
What is udp in java?
What are the string methods in java?
What are drawbacks of singleton class?
How many types of literals are there in JAVA?
How can I become a good programmer?
How do you create a null object?
What are the two types of java?