• Post Reply Bookmark Topic Watch Topic
  • New Topic

how the initialization happens  RSS feed

 
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
Posts: 53779
128
  • 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!