Java Interview Question and Answer What is Java Package Explain

Publicado em: 16 Novembro 2013
no canal de: 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...


Nesta página do site você pode assistir ao vídeo on-line Java Interview Question and Answer What is Java Package Explain duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Interview DOT 16 Novembro 2013, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 698 vezes e gostou 2 espectadores. Boa visualização!