New course! Every coder should learn Generative AI!
Try a free lesson0
So the dot(.) operator behaves like the assignment operator(=), in classes?
1 Answer
0
The dot (.) operator is used to access the properties and to call and access the methods of an object; the equal (=) operator is used for assignement.