The train (EC 174) is composed of MAV (Hungarian) coaches with one DB coach (2nd class) at the end.
People have different views about which is better, but remember that in 2nd class seating is 2-2 in open plan, whereas compartments have only 3 seats across.