• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

what is recursive static initialization?

 
Kaustubh G Sharma
Ranch Hand
Posts: 1283
Chrome Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I heard on one thread about it but not able to understand the fact clearly...
 
Hebert Coelho
Ranch Hand
Posts: 754
Eclipse IDE Java
 
Campbell Ritchie
Sheriff
Pie
Posts: 50168
79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Never heard of it.
 
Vinoth Kumar Kannan
Ranch Hand
Posts: 276
Chrome Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Actually, doesn't static initialization happen only once for a class ever - only when the class is being loaded? can it be recursive at all? May be you can post us the source..
 
Kaustubh G Sharma
Ranch Hand
Posts: 1283
Chrome Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
well I tried to find that thread but not got any success it in
 
Seetharaman Venkatasamy
Ranch Hand
Posts: 5575
Eclipse IDE Java Windows XP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
is that thread?
some-static-explanation
 
Kaustubh G Sharma
Ranch Hand
Posts: 1283
Chrome Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yaa this thing is discussed in some thread..
 
Seetharaman Venkatasamy
Ranch Hand
Posts: 5575
Eclipse IDE Java Windows XP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
now you get the point?
 
Kaustubh G Sharma
Ranch Hand
Posts: 1283
Chrome Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
Mike Simmons
Ranch Hand
Posts: 3090
14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Oh, come on, Kaustubh - show some effort. Did the post that Seetharaman linked to answer your question, or not? If the answer is no, that's fine - just give us some concrete feedback (like "no" for example) if that's the case. Rolling your eyes is useless. Use words. Form a sentence. Communicate with us in a meaningful way. We will be happy to help, but we need to understand what your problem is.
 
Kaustubh G Sharma
Ranch Hand
Posts: 1283
Chrome Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Aye Aye SIR...Thanks for awaking me...Actually I was not checking the thread fully and not read Seetharaman link properly ..my mistake and my apology...

yup want to thank Seetharaman who find out the thread for me... thanks Seetharaman ... I found this term from this link only but not get what Seetharaman want to say...



recursive static initialization is simply ignored by the JVM.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic