Hitachi interview question

how to create objects for class