• 2022-06-06
    在Java中,获取文件大小的方法,是()
    A: length()
    B: length
    C: size()
    D: size
  • A

    内容

    • 0

      The flexibility of the compression bar intensively reflects which factors of the compression bar will affect the critical stress. A: Length, constraints, section size and shape B: Material, length and constraints C: Material, constraints, section size and shape D: Material, length, section size and shape

    • 1

      在Java中,关于数组,以下说法正确的是()。 A: 通过数组的length()方法可获得数组的长度 B: 通过数组的size属性可获得数组的长度 C: 通过数组的length属性可获得数组长度 D: 通过数组的size()方法可获得数组的长度

    • 2

      以下哪个选项可以确定字符串的长度?( ) A: size B: length C: max_value D: length()

    • 3

      以下哪个选项用以确定字符串的长度?( ) A: size B: length C: max_value D: length()

    • 4

      想要获取单列集合中元素的个数应该使用以下哪个方法? A: length( ) B: size( ) C: get(int index) D: iterator( )