Examples of using "専攻は何?" in a sentence and their german translations:
Was ist dein Hauptfach?
Was war dein Hauptfach?
Was war Ihr Hauptfach an der Universität?