Win a copy of Learn Spring Security (video course) this week in the Spring 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
Posts: 48363
56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try that modification.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic