Question:
A student is learning Python using the interactive interpreter mode. The student issues these commands:
Which type of Python structure is created?
- a method
- a class
- a function
- a module
Explanation: In Python, classes are a means of bundling data storage and functionality in a single structure. Each class declaration defines a new object type. A class is defined with the class Class_Name() command.
Exam with this question: DevNet Associate – Practice Final Exam Answers
Please login or Register to submit your answer