is instanceof an operator?
Anton.Dil
anton.dil at open.ac.uk
Wed May 31 10:14:21 UTC 2023
Greetings,
I have a query about which tokens should be considered operators.
Many sources say that instanceof is an operator, including the JLS, e.g. at https://docs.oracle.com/javase/specs/jls/se17/html/jls-15.html#jls-15.20.2
However, instanceof is not included in the list of operators here https://docs.oracle.com/javase/specs/jls/se17/html/jls-3.html#jls-3.12
Which is correct? Should instanceof be in the operators list?
Regards,
Anton
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/jls-jvms-spec-comments/attachments/20230531/026c1a71/attachment-0001.htm>
More information about the jls-jvms-spec-comments
mailing list