About Question enthuware.ocpjp.v11.2.3657 :

Help and support on OCA OCP Java Programmer Certification Questions
1Z0-808, 1Z0-809, 1Z0-815, 1Z0-816, 1Z0-817

Moderator: admin

Post Reply
Posts: 3
Joined: Sun Feb 07, 2021 2:58 pm

About Question enthuware.ocpjp.v11.2.3657 :

Post by barrantesgerman »

@Retention(RetentionPolicy.RUNTIME) public @interface JSONField {     public String name() = ""; }
it's not valid
should be
@Retention(RetentionPolicy.RUNTIME) public @interface JSONField { public String name() default ""; }

Site Admin
Posts: 10024
Joined: Fri Sep 10, 2010 9:26 pm

Re: About Question enthuware.ocpjp.v11.2.3657 :

Post by admin »

You are right. Fixed.
thank you for your feedback!
If you like our products and services, please help us by posting your review here.

Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests