From anton.dil at open.ac.uk Wed May 31 10:14:21 2023 From: anton.dil at open.ac.uk (Anton.Dil) Date: Wed, 31 May 2023 10:14:21 -0000 Subject: is instanceof an operator? Message-ID: 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: