How to determine an object’s class? September 11, 2022 by Tarik if (obj instanceof C) { //your code }