Page 1 of 1

About Question enthuware.ocpjp.v17.2.3698 :

Posted: Wed Dec 07, 2022 12:00 pm
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
}

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

Posted: Thu Dec 08, 2022 2:50 am
by admin
You are right. Fixed.
thank you for your feedback!