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
Can you give me a simple example of using the requiredif validator rule?
What are the design considerations while making a choice between using interface and abstract class?
What is aop(assepct oriented programing)?
Difference between DurableSubscription and non- DurableSubscription?
How to determine SGA site?
What is the map interface?
What restrictions are placed on the values of each case of a switch statement?
What is the relationship between an event-listener interface and an event-adapter class?
How can I avoid validating a form before data is entered?
What are the pros and cons of detached objects?
Explain the advantages and disadvantages of detached objects.
AS a developer will u create a data source in connection pool? If so how will u do that, how to access the object from connection pool using IRAD tool?
Why are some of the class and element names counter-intuitive?
When a thread blocks on i/o?
Explain how will the struts know which action class to call when you submit a form?