Lumina Datamatics interview question

1.Oops concepts