An object is an instance of a __________.
-
program
-
class
-
method
-
data
B
Correct answer
Explanation
An object is created as an instance of a class. The class defines the type, and when you instantiate it with 'new', you create an object that belongs to that class type. A program contains many objects, methods are behaviors defined in classes, and data is what objects store.