質問編集履歴
1
文法の修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -24,7 +24,7 @@
|
|
24
24
|
|
25
25
|
String str = "abc"
|
26
26
|
|
27
|
-
if( str.endsWith( "c |
|
27
|
+
if( str.endsWith( "c | e" ) ){ //文字列の末尾がc または e の場合にtrueにしたい
|
28
28
|
|
29
29
|
System.out.println( "true" );
|
30
30
|
|