Java Programming: 12 - Packages

Pubblicato il: 15 giugno 2011
sul canale di: CodeMonkeyCharlie
127,202
919

In this tutorial, we learn how to create and nest packages. We'll move all of our existing classes into a new package, and use this and other packages in the future to keep our classes organized.

I change to a hierarchical view for packages, but feel free to keep a flat view if you prefer.

I also show how using packages avoids naming conflicts by showing an example of using a fully qualified class name instead of an import.

The default and protected access modifiers are discussed briefly since they deal with package wide access.


In questa pagina del sito puoi guardare il video online Java Programming: 12 - Packages della durata di ore minuti seconda in buona qualità , che l'utente ha caricato CodeMonkeyCharlie 15 giugno 2011, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 127,202 volte e gli è piaciuto 919 spettatori. Buona visione!