Answer Posted / narasimha rao bodagala
Example:
class A {
static void something () {}
}
class B extends A {
static void something () {}
}
....
A anA = new B ();
anA.something ();
so, the compiler will not check the which one is to create
or which one is called method.
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is the difference between RMI registry and OS Agent?
how i secure my site with the https protocol.what are the steps?
Can I have an action without a form?
Why do threads block on i/o?
Do I have to use jsps with my application?
How are the elements of a borderlayout organized?
What are local interfaces? Describe.
Describe, in general, how java's garbage collector works?
Which characters may be used as the second character of an identifier, but not as the first character of an identifier?
How are the elements of a cardlayout organized?
What is the immediate superclass of the applet class?
What if the static modifier is removed from the signature of the main method?
What happens when a thread cannot acquire a lock on an object?
What is colon_pkg_prefixes and what is its use?
How to pass parameters in RMI?