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 map java?
What is the difference between serial and throughput garbage collector?
What are static variables and functions?
What are different access specifiers in java?
What is the advantage of OOP in java?
What an i/o filter in java programming?
Hi.... I applied for the post of scientific officer/Engineer-SB(Programmer).Please post the syllabus and sample papers.
What is a nonetype?
What is the difference between serializable and externalizable interface?
What is codebase?
How will you get the platform dependent values like line separator, path separator, etc., ?
What is the difference between delete and delete[]
Difference between static binding and dynamic binding?
Can we overload destructor in java?
What is the difference between checked exception and unchecked exception?