Literacy and attained educational levels in Japan are close to the highest in the world. Enrollment of Japanese children in both kindergarten and secondary school is almost universal, although neither is compulsory. Student testing in nations around the world shows that Japanese students rank fourth highest in math and science functional literacy, ahead of all European countries and the U.S. Japan is second only to Canada in the percentage of its adults—nearly 50%—who go on to higher education beyond high school.