Select true statements about classes and instances. (select three)

Questions & AnswersCategory: PythonSelect true statements about classes and instances. (select three)
Lokesh Kumar Staff asked 2 years ago

Select true statements about classes and instances. (select three)

a. A class is a user-defined template that defines a set of attributes and methods that characterize any class object.

b. An instance is a specific object that represents a class.

c. In Python, a class is defined by the class keyword.

d. An instance is a user-defined template that defines a set of attributes and methods that characterize any class object.

1 Answers
Lokesh Kumar Staff answered 2 years ago

b. An instance is a specific object that represents a class.
c. In Python, a class is defined by the class keyword.
d. An instance is a user-defined template that defines a set of attributes and methods that characterize any class object.