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 r in java?
Why is java called java?
How do you convert an int to a double in java?
Discuss 2D arrays.
What is final keyword in java? Give an example.
What is identifier in java?
What are the legal operands of the instanceof operator?
What type of variable is gender?
When throws keyword is used?
I am a fresher and know core java, c languge, html, css etc if I am illegible for any job then send it on my email tatranakshay276@gmail.com
What is a method declaration?
Is object a data type in java?
Explain the difference between serializable and externalizable in java?
What is the difference between preparedstatement and statement in java?
How do you create a bulleted list?