Find the type of a variable in Java | Datatype of variable

preview_player
Показать описание
How to find the datatype of the variable in java is shown
Рекомендации по теме
Комментарии
Автор

Thank you, sir.
So, no direct ways or in-built methods are available to find a variable's data type. Is that correct?

mohanrammanikandan
Автор

How it will when user type from keyboard.

dingdong
Автор

if we give as
Object name = "String";
will is work

dmltipsandtricks