Ask Question
19 November, 12:59

What is the difference between a class and an object?1. The Objects are instances of classes. The class is the general template, and 2. The object is the specific version. Classes are instances of objects. 3. The object is the general template, and the class is the specific version. 4. A class has a run method or main method but an object does not.

+4
Answers (1)
  1. 19 November, 13:09
    0
    Answer: The Objects are instances of classes. The class is the general template

    Explanation:

    A class is a template for defining objects. It clearly states the names and types of variables that can exist in an object, A class can be thought of as a "type", with the objects being a "variable" of that type.
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “What is the difference between a class and an object?1. The Objects are instances of classes. The class is the general template, and 2. The ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers