Why the Portuguese became leaders of European exploration?

Actually the Portuguese became world leaders of exploration, from Brazil to Japan. We discovered Brazil, we were the first Western country to reach Japan, etc. This is all due to the portuguese navigators, who were ages ahead of any other country at the time, since their knowledge was granted by Arab settlers/invaders and developed by portuguese specialists of the time.