Siemens Mobility interview question

About OOPS concept as a java developer