Tag Archives: types

How to compare types in Java

Here’s an overview of the different methods to identify a type or Object in Java. There are three basic cases I want to detect if two variables point to Objects of the same type I want to detect if two … Continue reading

Posted in Uncategorized | Tagged , , | 2 Comments