DEV Community


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

ozeta profile image
Marco Carrozzo

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

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.