Wednesday, 25 June 2014

Single-Element Annotation type

Single-Element Annotation type
An Annotation type with single element is called Single-Element Annotation type. By convention, the name of the sole element in a single-element annotation type is value.

@interface BookPublisher{
     String value();

}


 
Prevoius                                                 Next                                                 Home

No comments:

Post a Comment