From Python in a Nutshell:
In Python, a variable or other reference has no intrinsic type. The object to which a reference is bound at a given time always has a type, but a given reference may be bound to objects of various types in the course of the program’s execution.
In Java and C#, where references are also used to refer to objects, do references have types?
If yes,
- what is the reason for that difference between Java/C# and Python?
- What is the consequence of the difference?
Thanks.