They both look very much same but they are not same. The class is definition while the object is the instance of the class created. The class is blue print while objects are actual objects existing in the world. Example: Car has attributes & method like speed, brake, type of car etc.
They both look very much same but they are not same. The class is definition while the object is the instance of the class created. The class is blue print while objects are actual objects existing in the world.
need an explanation for this answer? contact us directly to get an explanation for this answerExample: Car has attributes & method like speed, brake, type of car etc.