The German U-3 class almost ties with the Brit's D class.
If we trust Wikipedia D-class was laid down and launched earlier, but comissioned a few months later than U-3.
In "Submarines" by Anthony Preston there's also a pick of Turkish machine-gun armed sub Abdul Hamid from 1887. While not strictly having a deck gun it did have deck armament nevertheless.
|