// init on the declaration
int n = 100;

// init in the constructor
public MyClass()
   {
   n = 100;
   }
// init in instance initializer block {
n = hairyFunction();
if ( n > 1000 )
   {
   n = 1000;
   }