04-26-2011, 10:45 PM
i didn't understand the sole purpose of the packages other than that they provide a facility to use the same built names of the Java which any clashes. Please give the solid examples to elaborate this concept,
|
Packages in java 2011
|
|
04-26-2011, 10:45 PM
i didn't understand the sole purpose of the packages other than that they provide a facility to use the same built names of the Java which any clashes. Please give the solid examples to elaborate this concept,
04-26-2011, 10:45 PM
There are several benefits of Packages
You and other programmers can easily determine that these types are related. You and other programmers know where to find types that can provide graphics-related functions. The names of your types won't conflict with the type names in other packages because the package creates a new namespace. You can allow types within the package to have unrestricted access to one another yet still restrict access for types outside the package. 0300-9520262 Get solution in 24 hour |cpmputer & internet mileys81:[SIZE="4"][SIZE="3"]....[/SIZE][/SIZE]
|
|
« Next Oldest | Next Newest »
|