Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

Jump to content

Talk:Access modifiers

Page contents not supported in other languages.
Add topic
From Wikipedia, the free encyclopedia
Latest comment: 8 years ago by 86.2.161.167 in topic Untitled

Untitled

[edit]

Java does not have the package modifier keyword. I believe that the original author indended to write 'no modifier' for access within the same package. See the official tutorial [1] for more informtion.  Preceding unsigned comment added by 86.2.161.167 (talk) 21:28, 30 June 2018 (UTC)Reply

- please read carefully, it also states that package is the default if no other access modifier has been declared

The provided C++ example is not a good example for OO, in fact, it exploits the options that you have with C++, here: changing access scopes, basically breaking the contract set forth by the base struct. Also, additional examples need to be provided.

References