 Liang passed the "Xiucai" () degree provincial examination at the age of 11.In 1884, he undertook the arduous task of studying for the traditional governmental exams.At the age of 16, he passed the "Juren" () second level provincial exams and was the youngest successful candidate at that time.