R1 RCM interview question

Basic question from c# and oops