Search
Class Diagrams
- Yuuki

- Nov 27, 2019
- 1 min read


Scope
Public scope to make that variable/function available from anywhere, other classes and instances of the object.
Private scope when you want your variable/function to be visible in its own class only.
Protected scope when you want to make your variable/function visible in all classes that extend current class including the parent class (and child classes).
Static a variable that has been allocated "statically", meaning that its lifetime (or "extent") is the entire run of the program.
Data Type
bool
int
float
double
array
struct
etc...



Comments