About Question enthuware.ocpjp.ii.v11.2.3394 :

Moderator: admin

Post Reply
tomex443
Posts: 5
Joined: Thu Aug 01, 2019 4:25 am
Contact:

About Question enthuware.ocpjp.ii.v11.2.3394 :

Post by tomex443 » Wed Aug 28, 2019 12:46 pm

In the answer:

Code: Select all

public @interface Meals{   
 	Meal[] value();    
 	String course() default "maincourse";
} 
@Repeatable(Meal.class)
public @interface Meal{    
   	int id() default 0;  
   	String name(); 
}
It should be:@Repeatable(Meals.class) not @Repeatable(Meal.class)

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

Re: About Question enthuware.ocpjp.ii.v11.2.3394 :

Post by admin » Wed Aug 28, 2019 8:35 pm

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 15 guests