wood burning stoves 2.0*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes static / transient Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "static / transient " Watch "static / transient " New topic
Author

static / transient

Deepali Pate
Ranch Hand

Joined: Mar 20, 2002
Posts: 114
static final transient int maxElements = 100;
Is this correct. Can a static var be transient?
Deepali
Valentin Crettaz
Gold Digger
Sheriff

Joined: Aug 26, 2001
Posts: 7610
Please read the following discussion where this topic is discussed:
http://www.coderanch.com/t/238467/java-programmer-SCJP/certification/Transient-Var
Also you can use the Google search at the bottom of the page to search the forum by typing:
static transient Programmer Certification


SCJP 5, SCJD, SCBCD, SCWCD, SCDJWS, IBM XML
[Blog] [Blogroll] [My Reviews] My Linked In
zarina mohammad
Ranch Hand

Joined: Jun 26, 2002
Posts: 104
hi deepali
check the following discussion we had on Transient variable
Transient Var
Deepali Pate
Ranch Hand

Joined: Mar 20, 2002
Posts: 114
Ok fine
Thanks
Deepali
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: static / transient
 
Similar Threads
making a mostly anonymous Comparator be Serializable
Static
transient variables
is trasient + static valid ??
how to exclude a class member from hibernate mapping?