質問編集履歴

1

文法の修正

2018/04/17 09:50

投稿

Nerd_run.
Nerd_run.

スコア60

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 | b" ) ){ //文字列の末尾がc または b の場合にtrueにしたい
27
+ if( str.endsWith( "c | e" ) ){ //文字列の末尾がc または e の場合にtrueにしたい
28
28
 
29
29
  System.out.println( "true" );
30
30