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 difference between the size and capacity of a vector?
Explain restrictions for using anonymous inner classes?
Is java 11 paid version?
What will happen if static modifier is removed from the signature of the main method?
How many bytes is a string?
Which is faster string or stringbuilder?
what type of questions asked for barclays technologies pune please send urgent
What class of exceptions are generated by the java run-time system?
What is io stream in java?
What is null statement?
What is multithreading in java?
What are three types of loops in java?
How do generics work in java?
What is a buffer in computer?
Can a java program have 2 main methods?