• String,StringBuffer,StringBuilder的区别


    StringBuffer和StringBuider的区别                                                                                                        

      StringBuffer是jdk1.0版本的,是线程安全的,效率低                                                                   

      StringBuilder是jdk1.5的,是线程不安全的,效率高                                                       

    String和StringBuffer,StringBuilder的区别                                                         

      String是一个不可变的字符序列                                                                          

      StringBuffer,StringBuilder是可变的字符序列

  • 相关阅读:
    【CSS】 布局之圣杯布局
    PHP函数
    spry菜单栏(二)
    正则表达式补充
    练习用php做表格
    PHP入门
    MySQL常用函数
    数据库习题
    总结
    Navicat
  • 原文地址:https://www.cnblogs.com/wqtd77/p/5906603.html
Copyright © 2020-2023  润新知