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 original name of java?
What do you understand by synchronization?
What is string subsequence method?
What are the drawbacks for singleton class?
What is string pool in java?
Difference between class#getinstance() and new operator ?
how to split string in java?
Is age a discrete variable?
Can we use switch statement with strings?
What is java util?
What is the generic function?
what is deadlock? : Java thread
What are the four pillars of java?
What are the super most classes for all the streams?
What is a dynamic array in java?