aspose file tools*
The moose likes Beginning Java and the fly likes what is the advantage of static final method? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "what is the advantage of static final method?" Watch "what is the advantage of static final method?" New topic
Author

what is the advantage of static final method?

sampath soft
Greenhorn

Joined: Apr 13, 2007
Posts: 17
please any one can tell me advantage of using static final infront of the methods?
fred rosenberger
lowercase baba
Bartender

Joined: Oct 02, 2003
Posts: 11499
    
  16

We'd prefer it if you'd show some effort. tell us what YOU think these words do, or what the advantages might be. any java book will tell you. Heck, if you searched this forum, you'd probably already have the answer.


There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
sampath soft
Greenhorn

Joined: Apr 13, 2007
Posts: 17
interviewer asked this question to me...(some java class having methods like this).
Gaurav Arora
Ranch Hand

Joined: Aug 13, 2007
Posts: 35
What Fred means is that you should try answering the question yourself first and then the rest of the community will explain to you why your answer is correct / incorrect. Moreover, you should always search for answers first on this forum before asking the same question. No one likes answering the same questions over and over.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: what is the advantage of static final method?