3i Infotech interview question

They have asked to create a Class, constructor, how to initialize the Class etc.