Class & Object
class Car {
int numberofDoors = 5;
void drive(){
print('wheels start turning');
}
}Car myCar = Car();Last updated
class Car {
int numberofDoors = 5;
void drive(){
print('wheels start turning');
}
}Car myCar = Car();Last updated