can a static method be overridden
Answer Posted / kapil dave
yes static methods can be overwritten.but it in fact hides the 1 in d superclass with the subclass 1.so the calling depends on d name of class frm which it is called.
there is a link to suns site where dis is described in detial..
http://java.sun.com/docs/books/tutorial/java/IandI/override.html
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is in-memory replication?
Do we need to override service() method
What are the different class loaders used by jvm?
How database connectivity in XML is achieved?
What are externizable interface?
What is table mutation and how do you avoid it?
What is the purpose of the notify() method?
What is the difference between the string and stringbuffer classes?
Is jvm a overhead?
Which characters may be used as the second character of an identifier, but not as the first character of an identifier?
What is Stream Tokenizer?
If we opened Windows Internet Explorer 4 times, does it starts 4 processes or 4 threads?
What is a modular application? What does module-relative mean?
For which statements does it make sense to use a label?
Are enterprise beans allowed to use thread.sleep()?