无网络连接
  1. 主页

Comments for https://horstmann.com/unblog/2022-07-20/index.html

作者:System @system
    2022-08-18 18:33:03.332Z
    • 2 评论数
    1. B
      Brad Cupit @bradcupit
        2022-08-18 18:33:03.414Z

        For Inflationary Expressions you can use a single char:

        jshell> var x = ' ';
        x ==> ' '
        
        jshell> /vars
        |    char x = ' '
        

        char is 4x longer than the single character passed in 😝

        1. CCay Horstmann @cayhorstmann
            2022-08-18 19:17:19.622Z

            But ' ' is three characters. You have to count the quotation marks.