In class - based languages the classes are defined beforehand .
The objects are instantiated based on the classes .
In class - based languages the classes are defined beforehand and the objects are instantiated based on the classes .