> 原文:[https://www . geesforgeks . org/instance of-operator-vs-is instance-method-in-Java/](https://www.geeksforgeeks.org/instanceof-operator-vs-isinstance-method ...
The instanceof operator allows you to check the validity of a IS A relationship. If at any point of time, we are not sure about this and we want to validate this at runtime, we can do the following: ...
一部の結果でアクセス不可の可能性があるため、非表示になっています。
アクセス不可の結果を表示する