7
किसी एनोटेशन फ़ील्ड के लिए डिफ़ॉल्ट अशक्त मान सेट करने में त्रुटि
मुझे एक त्रुटि क्यों मिल रही है "गुण मान स्थिर होना चाहिए"। अशक्त नहीं है ??? @Target(ElementType.TYPE) @Retention(RetentionPolicy.RUNTIME) public @interface SomeInterface { Class<? extends Foo> bar() default null;// this doesn't compile }