Ad hoc type restriction
Archie Cobbs
archie.cobbs at gmail.com
Fri Oct 10 21:33:07 UTC 2025
>
> This doesn't work for primitive types (e.g., a person's age, grade point
> average, number of children, etc.)
Oops, I meant to say that subclassing doesn't work for primitive types.
Obviously, using wrapper classes does.
--
Archie L. Cobbs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/amber-dev/attachments/20251010/a3038022/attachment.htm>
More information about the amber-dev
mailing list