Is there any specialization in the Japanese school system?

I guess in France students can choose between three different paths in their bac (sciences, economics/social sciences and literature, iirc.), in GB there are specializations in their GCSE and A-Levels and in Germany there is the Abitur.