getClass() apply for all classfication methods