This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Java in General and the fly likes static methods Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "static methods" Watch "static methods" New topic
Author

static methods

saravanan gnanasundaram
Greenhorn

Joined: May 11, 2011
Posts: 1
what is the advantage of redefining a static method....any one give example
Greg Brannon
Bartender

Joined: Oct 24, 2010
Posts: 530
What do you mean "redefining a static method?" Redefining it as what?


Learning Java using Eclipse on OpenSUSE 11.2
Linux user#: 501795
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 32679
    
    4
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 FAQ which you will probably find helpful/
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: static methods
 
Similar Threads
static and non static methods
property file dynamic vs static
Single tone Vs Static
static and non static methods
WA #1.....word association