Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

static / transient

 
Deepali Pate
Ranch Hand
Posts: 114
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
static final transient int maxElements = 100;
Is this correct. Can a static var be transient?
Deepali
 
Valentin Crettaz
Gold Digger
Sheriff
Posts: 7610
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
zarina mohammad
Ranch Hand
Posts: 104
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi deepali
check the following discussion we had on Transient variable
Transient Var
 
Deepali Pate
Ranch Hand
Posts: 114
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok fine
Thanks
Deepali
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic