Jules Verne predict the technology of submarines in his novel "Twenty Thousand Leagues Under the Sea." Which was publish in 1870, decades before practical submersible vessels were developed.