MCQs>IT & Programming>Java>public @interface A { String value(); } How would you change the 'value' element declaration to give it an empty String as its default?
Java MCQs
public @interface A { String value(); } How would you change the "value" element declaration to give it an empty String as its default?
Answer
Correct Answer: String value() default "";
Explanation:
Note: This Question is unanswered, help us to find answer for this one