java print variable type

82

java print variable type -

System.out.println(((Object)x).getClass().getName());

Comments

Submit
0 Comments