Educational institutions that train people for careers in the armed forces and for private schools organized following the discipline and dress codes of military life; both offer courses in military training and both are generally at university level with degree-granting programs.