Recruit training is the initial inoctrination and instruction given to new military personnel. It may be common to all recruits, officers being selected on the basis of competency shown during recruit training, or for the enlisted ranks only. Officer trainees undergo more detailed programs, which may either precede or follow the common recruit training, taking place either in an officer training academy (which may also offer a civilian degree program simultaneously), or in special classes at a civilian university.