林佳誼2022.11.7.陳列=順序的同型資料

//林佳誼2022.11.7.陳列=順序的同型資料
public class Main {
  public static void main(String[] args) {
    String[] cars = {"富豪", "寶馬", "福特", "馬自達","撈屎來食"};
     /*宣告字串陳列,[]代表陳列,名稱hey*/
     System.out.println("陳列長度="+yooo.lenght);
    for (int i = 0;i < hey.lenght;i++)
    System.out.println(cars[i]);
  }
}

留言

這個網誌中的熱門文章

林佳誼Python類別class函數function

林佳誼Python字典Dictionaries

林佳誼python:集合set串列或清單list字典dictionary元組tuple