博客
关于我
Java 中哪些对象可以获取类对象
阅读量:364 次
发布时间:2019-03-05

本文共 948 字,大约阅读时间需要 3 分钟。

?Java??????????????????????????????????????????????????????????????

  • ???????Java?????????????String.class?Map.class?????????????????????????????????????

  • ????????????????Map.class????????????????????????????

  • ?????????????int?boolean???????????????int.class????????????????????????

  • ????????????????????????????????class????????int[].class????????????

  • Void???Void?????????????????Void.class???????????????????????????????

  • ????????????????????????????Java????????????????????????????????????????.class???????

    @Testpublic void testClassObject() {    // ?????    System.out.println("String.class = " + String.class);    // ??????    System.out.println("Map.class = " + Map.class);    // ????????    System.out.println("int.class = " + int.class);    // ??Void????    System.out.println("Void.class = " + Void.class);    // ????????    System.out.println("int[].class = " + int[].class);}

    ?????????????????????????????????????????????????????Java??????????

    转载地址:http://wtcg.baihongyu.com/

    你可能感兴趣的文章
    PostGIS在Windows上的下载与安装
    查看>>
    Qt开发——网络编程之UDP客户端
    查看>>
    postgis数据库优化_postgresql 性能优化
    查看>>
    postgis求面积、交集等相关函数
    查看>>
    postgis相关函数
    查看>>
    Postgres Docker版本安装mysql_fdw 插件
    查看>>
    Postgres invalid command \N数据恢复处理
    查看>>
    Postgres like 模糊查询匹配集合
    查看>>
    Postgres 自定义函数内实现 in 操作符的递归查询
    查看>>
    Postgres 返回当前时间前后指定天数的集合
    查看>>
    postgres--vacuum
    查看>>
    postgres--wal
    查看>>