Virtual Position Forum
Please register to watch content in detail
Thanks
Admin virtual position


Join the forum, it's quick and easy

Virtual Position Forum
Please register to watch content in detail
Thanks
Admin virtual position
Virtual Position Forum
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Packages in java 2011

View previous topic View next topic Go down

GMT + 3 Hours Packages in java 2011

Post by sharmila farooqi Sun May 29, 2011 5:42 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,
avatar
sharmila farooqi
Monstars
Monstars

Posts : 35
Join date : 2011-05-29

Back to top Go down

GMT + 3 Hours Re: Packages in java 2011

Post by Vuhelper Sun May 29, 2011 5:43 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.
avatar
Vuhelper
Deep Bench
Deep Bench

Posts : 97
Join date : 2011-05-29

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

Permissions in this forum:
You cannot reply to topics in this forum