File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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


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 ?

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:
subject: package
It's not a secret anymore!