Java Interview Question and Answer What is Java Package Explain

Publié le: 16 novembre 2013
sur la chaîne: Interview DOT
698
2

Click here -    / @interviewdot   to get notifications. Java Interview Question and Answer What is Java Package Explain
Package is a collection of related classes and interfaces. package declaration should be first statement in a java class.

Packages are used in Java in order to prevent naming conflicts, to control access, to make searching/locating and usage of classes, interfaces, enumerations and annotations easier, etc.

A Package can be defined as a grouping of related types(classes, interfaces, enumerations and annotations ) providing access protection and name space management.

Some of the existing packages in Java are::
java.lang - bundles the fundamental classes
java.io - classes for input , output functions are bundled in this package
Programmers can define their own packages to bundle group of classes/interfaces, etc. It is a good practice to group related classes implemented by you so that a programmer can easily determine that the classes, interfaces, enumerations, annotations are related.

A Job Portal
http://www.InterviewDot.com http://www.InterviewDot.com http://www.InterviewDot.com
One Click Dream Job - http://www.interviewdot.com/upload-re...

Other Top Job Portals
www.Naukri.com
www.MonsterIndia.com
www.TimesJobs.com

Are you looking for a new Job ?
InterviewDot.com - A Job Portal
http://www.InterviewDot.com http://www.InterviewDot.com http://www.InterviewDot.com
One Click Dream Job - http://www.interviewdot.com/upload-re...


Sur cette page du site, vous pouvez voir la vidéo en ligne Java Interview Question and Answer What is Java Package Explain durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Interview DOT 16 novembre 2013, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 698 fois et il a aimé 2 téléspectateurs. Bon visionnage!