java print variable type

87

java print variable type -

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

Comments

Submit
0 Comments