File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
REST with Spring (video course)
this week in the
Java in General
Joined: May 11, 2011
May 11, 2011 11:25:22
what is the advantage of redefining a static method....any one give example
Joined: Oct 24, 2010
May 11, 2011 12:08:53
What do you mean "redefining a static method?" Redefining it as what?
Always learning Java, currently using Eclipse on Fedora.
Linux user#: 501795
Joined: Oct 13, 2005
May 11, 2011 13:54:11
Welcome to the Ranch
You can't override a static method at all. You can only hide it, which is bad practice. We have an
which you will probably find helpful/
It is sorta covered in the
JavaRanch Style Guide
subject: static methods
difference between redefining and overridding
difference between redefining and overriding
Static method modifier question
Redefining and Overriding?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015