Question #328

Considering the code snippet below, how many objects and how many references are created?
n = 300
m = n

The first statement creates an integer object with value 300 , and n is a reference to it. The second statement creates a second reference to the already existing object. (

Comment on Disqus:

Comment on Twitter:

Question difficulty: 🔵🔵🔵🔵🔵

Similar questions: