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
What is the use of list in java?
Does java runtime require a license?
When should I use singleton?
What are Normalization Rules? Define Normalization?
What is literal example?
why Interface used?
What is the final blank variable?
Can we create an object of static class in java?
What is a website container?
How would you dynamically allocate memory to an array?
Why is serialization required?
What is a byte string?
What is array sorting in java?
What type of variable is error flag?
what are abstract functions?