Tij SWOT

xiaoxiao2021-03-06  53

1.3 The Hidden Implementation

Access control enables users to solve their particular problems without thinking about the inner construction. Also, it allows the programmer to update the internal working without worrying about how the change will affect the client programmer.

Java Has Three Keywords To Set The Boundaries: Public, Private and protected.

Protected ACTS LIKE PRIVATE, Excepter That An Inheriting Class Has Access To Protected Members, but not private members.

"Friendly" Access Allows Classes to Access The Friendly Members of Other Classes in The Same Package.

转载请注明原文地址:https://www.9cbs.com/read-116957.html

New Post(0)