What is typeof for a class in Java?

Java does not have typeof operator but there’s the instanceof operator to check the types.


Leave a Reply

Your email address will not be published. Required fields are marked *