1. 字符串数组
    public class test {
    public static void main(String[] args) {
    String[][] str = {{“a”,“b”}, {“v”, “g”}, {“h”, “l”}};
    System.out.println(“a:”+str[1][1]);
    }
    }
    java —— java基础语句

  2. 编写单个字母数组
    char[] matrix = new char[]{‘A’,‘B’,‘C’,‘E’,‘S’,‘F’,‘C’,‘S’,‘A’,‘D’,‘E’,‘E’};
    java —— java基础语句

  3. 长度
    a.length

  4. 调用函数
    // 用solution
    public static void main(String[] args) {
    char[] matrix = new char[]{‘A’,‘B’,‘C’,‘E’,‘S’,‘F’,‘C’,‘S’,‘A’,‘D’,‘E’,‘E’};
    char[] str = new char[]{‘A’,‘B’,‘C’,‘C’,‘E’,‘D’};
    test solution = new test();
    System.out.println("result "+solution.hasPath(matrix,3,4,str));
    }
    java —— java基础语句

  5. 调试
    给新手小白的Eclipse调试教程_哔哩哔哩 (゜-゜)つロ 干杯~-bilibili
    https://www.bilibili.com/video/BV1g7411Q7nZ?from=search&seid=6775483034528084891

相关文章:

  • 2021-06-05
  • 2022-03-03
  • 2022-12-23
  • 2021-11-29
  • 2022-12-23
  • 2021-11-28
  • 2021-05-25
  • 2021-06-27
猜你喜欢
  • 2021-06-25
  • 2022-12-23
  • 2021-06-02
  • 2022-12-23
  • 2021-11-29
  • 2021-10-22
  • 2021-11-29
相关资源
相似解决方案