Python Interview Exam, Certification Exam, 100 Questions & Answers. by Ray Yao

Python Interview Exam, Certification Exam, 100 Questions & Answers. by Ray Yao

Author:Ray Yao [Yao, Ray]
Language: eng
Format: azw3
Publisher: Exam & Examination
Published: 2020-08-09T16:00:00+00:00


A. line 1 B. line 2 C. line 3 D. line 4.

(98)

Which following statement is not correct about constructor?

A. __init__ is called as a constructor, since it constructs the object.

B. A constructor is called automatically whenever a new object is created.

C. __init__ must have a keyword self as its first parameter.

D. __init__ can be overloaded in Python.

(99)

Which following statement is not correct?

A. You must call gc() function to execute garbage collection.

B. Class declaration starts with the class keyword.

C. An instance variable is initialized when an object is created.

D. Polymorphism describes the ability to perform different method for different object if a program has one more classes.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.