質問編集履歴

1

追記

2018/12/13 14:19

投稿

yukkuri
yukkuri

スコア624

test CHANGED
File without changes
test CHANGED
@@ -138,7 +138,7 @@
138
138
 
139
139
  if( sc == null ) sc = new Scanner( new InputStreamReader( System.in ) );
140
140
 
141
- else return "";
141
+ // else return ""; 間違い
142
142
 
143
143
 
144
144
 
@@ -364,7 +364,7 @@
364
364
 
365
365
  {
366
366
 
367
- sc.close();
367
+ // sc.close(); 回答を受けコメントアウト
368
368
 
369
369
  sc = null;
370
370
 
@@ -474,26 +474,28 @@
474
474
 
475
475
 
476
476
 
477
+ // String str3 = JylLog.inputNext();
478
+
477
- String str3 = JylLog.inputNext();
479
+ String str3 = JylLog.input();
478
480
 
479
481
  JylLog.println( str3 );
480
482
 
483
+ // JylLog.scanClose();
484
+
485
+
486
+
487
+ String str4 = JylLog.next();
488
+
489
+ JylLog.println( str4 );
490
+
481
491
  JylLog.scanClose();
482
492
 
483
493
 
484
494
 
485
- String str4 = JylLog.next();
486
-
487
- JylLog.println( str4 );
488
-
489
495
  JylLog.scanClose();
490
496
 
491
497
 
492
498
 
493
- JylLog.scanClose();
494
-
495
-
496
-
497
499
  try{
498
500
 
499
501
  JylLog.println( "message" );