Y
Hacker News
new
|
ask
|
show
|
jobs
by
IshKebab
4068 days ago
There is no protected. There's no inheritance anyway.
1 comments
NateDad
4068 days ago
Note that everything in the same package can access all the private stuff... so you do have some flexibility. You can write two types that reference each other's private data/functionality... they just need to be in the same package.
link