From 8dfacd93468162539e3f222e3aee52e32afa199a Mon Sep 17 00:00:00 2001 From: ryx <2736755949@qq.com> Date: Wed, 18 Mar 2026 13:42:16 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20App.java?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.java | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 App.java diff --git a/App.java b/App.java new file mode 100644 index 0000000..48fc5b0 --- /dev/null +++ b/App.java @@ -0,0 +1,13 @@ +package com.example; + +public class App { + public static void main(String[] args) { + System.out.println("Hello CodeArts Build!"); + System.out.println("构建时间: " + new java.util.Date()); + } + + // 一个简单的业务方法,用于单元测试验证 + public int add(int a, int b) { + return a + b; + } +} \ No newline at end of file