mercredi 23 décembre 2015

JAVA - Primitive type VS Object type

I have following variables:

Class a = int.class;
Class b = Integer.class;

Is it possible to compare it dynamically? It means that I want to get primitive tye of second variable and compare it with first.





Aucun commentaire:

Enregistrer un commentaire