How to get Type of object from it's String value using reflection in java Only
I want to get type of an input value (which is in String) Ex. "12345" it should return Integer(Name of wrapper class). It can be done using loops and using parseInt etc. methods but i want to do it with Reflection in java only.
Aucun commentaire:
Enregistrer un commentaire