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 do you mean by Socket Programming?
Name three subclasses of the component class?
What class is used to create Server side object ?
How are commas used in the intialization and iteration parts of a for statement?
Can you give me a simple example of using the requiredif validator rule?
What are transaction attributes?
What restrictions are placed on the location of a package statement within a source code file?
What is the difference between the ‘font’ and ‘fontmetrics’ class?
Are enterprise beans allowed to use thread.sleep()?
What is a class loader? What are the different class loaders used by jvm?
What does module-relative mean?
What is re-entrant. Is session beans reentrant. Is entity beans reentrant?
Brief description about local interfaces?
what are the advantages of JTA over JTS?
Explain the difference between object state and behavior?