So the dot(.) operator behaves like the assignment operator(=), in classes? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

So the dot(.) operator behaves like the assignment operator(=), in classes?

9th Oct 2016, 8:38 PM
Patrick Thubakgale
Patrick Thubakgale - avatar
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.
19th Oct 2016, 2:05 PM
JAMAL EL ALAMA