// Constructor - same name as class // initializations...
// ordinary method int i; // local data int answer = 0; for (i=0; i<num; i++) // compute answer return answer;
// more computation, presumably using xyz