Rabu, 19 Oktober 2016

How to handle packages in java

In this article we will look at Java packages which are a way to create namespaces. We will learn how to create a package and how to access Java packages.   Package Definition A package is a group of related classes. A package is used to restrict access to a class and to create namespaces. If all reasonable class names are already used, then we can create a new package (new namespace) and reuse the class names again. For example a package mypackage1can contain a class named MyClass and another package mypackage2 can also contain a class named MyClass.   Defining or Creating a Package

The post How to handle packages in java appeared first on Coding Security.


How to handle packages in java
read more

Tidak ada komentar:

Posting Komentar