Encapsulation and Protection Attributes
This commit is contained in:
parent
a6512db88e
commit
bf369e72cb
|
@ -51,7 +51,7 @@ private void hello() { }
|
|||
// 2) c++ style
|
||||
public:
|
||||
void hello() { }
|
||||
// ...
|
||||
// ....
|
||||
|
||||
// 3) block style
|
||||
protected {
|
||||
|
|
Loading…
Reference in New Issue