Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

what is the advantage of static final method?

 
sampath soft
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
please any one can tell me advantage of using static final infront of the methods?
 
fred rosenberger
lowercase baba
Bartender
Posts: 12146
30
Chrome Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
sampath soft
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
interviewer asked this question to me...(some java class having methods like this).
 
Gaurav Arora
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic