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
barrantesgerman
Posts: 3
Joined: Sun Feb 07, 2021 2:58 pm
Contact:

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 ""; }

admin
Site Admin
Posts: 10036
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

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: Google [Bot] and 31 guests