Example 1: java check data type a.getClass().getName() Example 2: get type of variable java ((Object) myVar).getClass().getName() //OR ((Object) myInt).
確定! 回上一頁