Compared to the state owned Deutsch bahn or pre competition trenitalia Japanese railways are quiet good.
(There is plenty of examples for good or bad private or state owned railways. It's just not black and white)