Brian

13%
Flag icon
2. Use the instanceof operator to check if the argument has the correct type. If not, return false. Typically, the correct type is the class in which the method occurs. Occasionally, it is some interface implemented by this class.
Effective Java
Rate this book
Clear rating
Open Preview