Cisco interview question

How to define a class and create a new instance.