Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite255227

Browse files
fishercoder1534zhahui
authored andcommitted
add a util method
1 parent722f746 commite255227

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

‎src/main/java/com/fishercoder/common/utils/CommonUtils.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,4 +221,14 @@ public static void printArrayArray(int[][] arrayArrays) {
221221
}
222222
System.out.println();
223223
}
224+
225+
publicstaticvoidprint2DCharArray(char[][]arrayArrays) {
226+
for (char[]array :arrayArrays) {
227+
for (chari :array) {
228+
System.out.print(i +", ");
229+
}
230+
System.out.println();
231+
}
232+
System.out.println();
233+
}
224234
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp