MCQOPTIONS
Bookmark
Saved Bookmarks
→
Technical MCQs
→
2D Transformation And Answers in Technical MCQs
→
All classes have a function called?..
1.
All classes have a function called?
A.
__init__
B.
__init__()
C.
init
D.
init()
Answer» C. init
Show Answer
Discussion
No Comment Found
Post Comment
Related MCQs
The class has a documentation string, which can be accessed via?
<pre class="result notranslate"> class test: def __init__(self,a): self.a=a def display(self): print(self.a)obj=test()obj.display()</pre>9._____ represents an entity in the real world with its identity and behaviour.
A class variable or instance variable that holds data associated with a class and its object is known as?
A variable that is defined inside a method and belongs only to the current instance of a class is known as?
You can delete properties on objects by using the ______ keyword.
The __________ parameter is a reference to the current instance of the class, and is used to access variables that belong to the class.
All classes have a function called?
To create a class, use the keyword?
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply