+ 1
What does it mean Calling a class ??
Sometimes ppl say calling a class or calling a class inside another class. What does it mean ? What will happen if a call a class.
4 Answers
+ 1
when you call a class you are actually asking the class to be run. This is the basis of OOP where code is only run when it is needed. cout is an example of calling a class. It is asking the program to run the class that is stored in the iostream that actually prints the text to the screen.
+ 1
@Muhammed đđ đđ
+ 1
Simply, it means starting to use that Class. The moment you start using a Class, it means you are calling the service of that Class.
0
it is just like saying hey b#tch come here :)
hope it helps