Answers for "can i print the data type in java?"

1

java print variable type

System.out.println(((Object)x).getClass().getName());
Posted by: Guest on September-20-2021

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language