| Author |
STATIC FUNCTIONS
|
dipayan chatterjee
Ranch Hand
Joined: Oct 03, 2007
Posts: 47
|
|
hello all does a static field created in a method keeps the same value between calls
|
SCJP1.4 , gearing up for SCWCD 5
|
 |
al nik
Ranch Hand
Joined: Oct 18, 2007
Posts: 60
|
|
|
You can't use static for a filed in a method!
|
SCJP5 - SCWCD5 - SCBCD5
|
 |
Jithu Joijoide
Greenhorn
Joined: May 14, 2001
Posts: 17
|
|
Ah gotcha... Thanks al nik... sorry for the error from this old multilinguist. Dipayn , Al is right.. I found a nice discussion on this topic at the below link http://www.velocityreviews.com/forums/t135242-static-local-variables-not-allowed-in-java-.html Rgs Jithu
|
 |
 |
|
|
subject: STATIC FUNCTIONS
|
|
|