Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how the initialization happens

 
Rauhl Roy
Ranch Hand
Posts: 401
Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,


May i know how the initialization happens in Java [i mean preferance, normal declaration and initialization, initialization through static block, and normal block], and which are given preferance] and please expline me about below mentioned code,


 
Campbell Ritchie
Sheriff
Pie
Posts: 50248
79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try that modification.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic