package com.tj;

public class MyClass implements Cloneable {
    public static void main(String[] args) {
        byte b = Byte.parseByte("123");
        short s = Short.parseShort("123");
        int i = Integer.parseInt("123");
        long l = Long.parseLong("123");
        float f = Float.parseFloat("123.4");
        double d = Double.parseDouble("123.4e10");
    }
}

 

相关文章:

  • 2022-12-23
  • 2021-12-25
  • 2022-12-23
  • 2022-12-23
  • 2021-12-10
  • 2022-02-08
  • 2022-02-08
  • 2022-03-07
猜你喜欢
  • 2021-12-06
  • 2021-12-18
  • 2021-05-17
  • 2022-12-23
  • 2022-02-08
  • 2022-12-23
  • 2021-12-19
相关资源
相似解决方案