• 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
Marshal
Posts: 52589
119
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try that modification.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!