Added examples of virtual methods and classes