Back to Browse

Learn Java Programming - Private Access Applied to a Class

1.0K views
Aug 10, 2015
3:32

The private access modifier cannot be applied to a standard outer class. In Java, sometimes it matters just as much what you cannot do versus what you can do. An exam test question may have some complicated logic located inside of a class marked private. If you notice the private class in the declaration, you won't waste your time figuring things out and you can just answer something like fails to compile. Okay, what happens when we try to apply private access to a class? Let's do it.

Download

1 formats

Video Formats

360pmp44.9 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Learn Java Programming - Private Access Applied to a Class | NatokHD