File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes how the initialization happens Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "how the initialization happens" Watch "how the initialization happens" New topic

how the initialization happens

Rauhl Roy
Ranch Hand

Joined: Aug 01, 2006
Posts: 401


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

Joined: Oct 13, 2005
Posts: 45255
Try that modification.
I agree. Here's the link:
subject: how the initialization happens
It's not a secret anymore!