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