从 W3Schools.cn 在线教程学习 Web 网络开发
运行结果尺寸: 625 x 591
MyClass.java
 


public class MyClass {
  public static void main(String[] args) {
    String[] cars = {"Volvo", "BMW", "Ford", "Mazda"};
    System.out.println(cars[0]);
  }
}


Result:
Volvo