What is is called | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is is called

What is it called when you are coding a game and you use like bowling.game and things that import code without actually displaying the code, if that makes sense

7th Mar 2020, 4:43 PM
Cole
3 Answers
+ 1
can you give an example?
7th Mar 2020, 4:44 PM
Lukas
0
you are probably working with C # or some other object oriented language, in this case, . is used to indicate references to some method or attribute within an instantiated class, that is, when you are trying to call a function (sum) in the class (calculator) and you instantiated the object (var) of the class, you call the function as "var.sum()", this also applies to variables within the class Now, if you are referring to imported libraries, the . also serves to specify classes of namespaces For example, in C #: Using System; It serves to transform this: System.Console.WriteLine ("Hello World"); In that: Console.WriteLine ("Hello World"); I hope I have clarified your doubt
7th Mar 2020, 5:00 PM
Wardy Spirit
Wardy Spirit - avatar
0
yes thank you
7th Mar 2020, 5:12 PM
Cole