DEV Community

loading...

Discussion on: Interesting JDK 12 features to watch out for.

Collapse
ozeta profile image
Marco Carrozzo

record seems really useful. but what about class extention? how will this work? it will support override,overload?

Collapse
lemuelogbunude profile image
Lemuel Ogbunude Author

Yes, you can override the methods you want to and customise it to your taste, in the video I provided there was a demo showing that you could also override a method, for example, ToString() to your requirement.