wood burning stoves 2.0*
The moose likes Beginning Java and the fly likes package Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "package" Watch "package" New topic
Author

package

Enkita mody
Ranch Hand

Joined: Aug 06, 2012
Posts: 333

Package definition:
A package is a grouping of related types providing access protection and name space management. Note that types refers to classes, interfaces, enumerations, and annotation types. Enumerations and annotation types are special kinds of classes and interfaces, respectively, so types are often referred to in this lesson simply as classes and interfaces.


What are annotation types ?


OCA7
Harsha Ka
Ranch Hand

Joined: Mar 14, 2010
Posts: 45

I believe annotations here refer to the feature in which instead of writing boilerplate code/including meta data info, you use a special name to denote some feature of the class/method/parameter... For example a class which serves as an EJB can have the annotation to indicate it is a stateless session bean.


SCJP 1.6,Preparing (Tryin to prepare) for scwcd
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: package