About Question enthuware.ocpjp.v17.2.3698 :

All the posts and topics that contain only an error report will be moved here after the error is corrected. This is to ensure that when users view a question in ETS Viewer, the "Discuss" button will not indicate the presence of a discussion that adds no value to the question.

Moderators: Site Manager, fjwalraven

Post Reply
felipewind
Posts: 5
Joined: Wed Nov 30, 2022 12:15 pm
Contact:

About Question enthuware.ocpjp.v17.2.3698 :

Post by felipewind »

I believe there's one compilation error on the bellow option:

Code: Select all

record Student(int id, String... subjects) implements java.io.Serializable{
    public static final String serialVersionUID  = 0; // error: incompatible types: int cannot be converted to String
}

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

Re: About Question enthuware.ocpjp.v17.2.3698 :

Post by admin »

You are right. Fixed.
thank you for your feedback!

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests