摘要: class Example{ static void main(String[] args) { String sample = "hello world"; println(sample[4]); println(sample[-1]); // 包头不包尾 println(sample[1..2] 阅读全文
posted @ 2025-07-14 15:39 山村放羊娃 阅读(5) 评论(0) 推荐(0)
摘要: 如果想要在vscode里面运行groovy脚本,请先安装code runner插件 阅读全文
posted @ 2025-07-14 15:30 山村放羊娃 阅读(11) 评论(0) 推荐(0)