Question: What was a global war that lasted from 1939 to 1945, when class of submarines built for the Royal Navy?
Sentence (from "World War II"): World War II (often abbreviated to WWII or WW2), also known as the Second World War, was a global war that lasted from 1939 to 1945, although related conflicts began earlier.
Relevant evidence: Yes