Battleships still have a place in a modern navy. Maybe not with big guns but with missiles replacing the 14” to 18” shells.
They’re experimenting with lasers to put on warships. Don’t forget rail guns.