can a static method be overridden

Answer Posted / vinay

Hi pals,
I agree with sushant who says that method overriding is not just using same name for the method.
But I want make some things more clear.
first of all Whats Method overriding , giving a new implementation for the parent or base class methods mean while maintaining same method definition.
If thats the case
You can override static methods by all means.
In this case only thing differs is way of accessing the methods , as its static access it by their class name.

And also

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain RMI Architecture?

705


What are the steps to write p-to-p model application?

2050


what are memory considerations of jsp compares to other web components?

6125


What is ioc concept & explain it?

702


the same information whether it will connect to the database or it will be used previous information?

665






when A client sent a request to the server to open facebook page and close the browser after this request .at that time the same user do login by using a different browser then that session id will exist or not for the same client??

1199


What are callback interfaces?

686


what is Activation Instantinator?

2004


int x=5,i=1,y=0; while(i<=5) { y=x++ + ++x; i=i+2; } System.out.println(x); System.out.println(y); System.out.println(i); How to solve this? Please explain!

1461


Can I run seam with jdk 1.4 and earlier?

638


Where can I ask questions and make suggestions about seam?

701


What are the different class loaders used by jvm?

696


What class is the top of the awt event hierarchy?

688


What is a class loader?

678


Is a class a subclass of itself?

680