class

Hyphenate and lowercase with a ship or aircraft name:

            the Virginia-class battleship U.S.S. Rhode Island

          Essex- and Independence-class aircraft carriers