Japanese I-400-class submarines, which were active during World War II, were designed to surface, launch their planes, and quickly dive again before being discovered.