The simplest possible class definition in Python can be expressed as:
The simplest possible class definition in Python can be expressed as:
A . class X:
B . class X: pass
C . class X: return
D . class X: {}
Answer: A
Explanation:
Reference: https://docs.python.org/3/tutorial/classes.html
Latest PCAP-31-03 Practice Questions with 109 Q&As
Updated Study Material | Instant Download | Detailed Answers and Explanations
Subscribe
Login
0 Comments