Let clazz be some Class and obj be some Object.

Is

clazz.isAssignableFrom(obj.getClass())

always the same as

clazz.isInstance(obj)

?

If not, what are the differences?

4 Answers
4

Tags:

Leave a Reply

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