How was Johannes brahms educated?

Johannes Brahms was educated in a Hamburg private school. Hamburg is where he was born.