How to create custom annotation with default values

The following example describes, how to assign the default value to custom Annotation.
If the user does not set value externally, it shows default values.
SOURCE:ShowDefaultAnnotationTest.java

OUTPUT:
  
Name :becbe
Description :A java resource website

SHARE

    Blogger Comment
    Facebook Comment

0 comments :

Post a Comment