 The family came to Australia in 1864 on account of the father's health, and Alexander at 14 years of age became a pupil-teacher with the education department at Sydney.Coming to Melbourne in 1870 he first taught at Hawthorn Grammar School and then entered on the arts course at the University.He maintained himself largely by scholarships and graduated with honours in 1874.