' Initialize the object
Dim myCar
Set myCar = new Car
' Setting a property
myCar.Wheels = 4
' Getting a property value
wscript.echo myCar.Wheels
' Using a subroutine in a class
myCar.Drive 10
myCar.Drive 12
' Using a function in a class
wscript.echo myCar.GetTotalDistance() ' returns 22