|
No explanation.
If you want to prevent son from accessing p2, you can set p2 to private.
If you want to adjust the p2 of the parent class from the object of the son class, but it is still accessible from the parent type, you can hide the name p2 in the son class by providing another name with the same name but different parameters A p2. |
|