0

How to find data type of thr variable in java by using in built function

27th Oct 2022, 4:38 PM
Amala Yakin
1 Answer
+ 4
whatever.getClass(); whatever instanceof String String can be any class type though, and returns a bool.
27th Oct 2022, 4:55 PM
morl
morl - avatar