init
This commit is contained in:
20
Question20-InstanceBasicOperation/src/PTra20_01.java
Normal file
20
Question20-InstanceBasicOperation/src/PTra20_01.java
Normal file
@@ -0,0 +1,20 @@
|
||||
/*
|
||||
* PTra20_01.java
|
||||
* 作成 Rhizome
|
||||
*------------------------------------------------------------
|
||||
* Copyright(c) Rhizome Inc. All Rights Reserved.
|
||||
*/
|
||||
public class PTra20_01 {
|
||||
public static void main(String[] args) {
|
||||
String str = "Hello";
|
||||
String str2 = new String("Hello");
|
||||
String str3 = str2;
|
||||
|
||||
// TODO strとstr2を比較して、trueと表示させてください。
|
||||
|
||||
// TODO str2とstr3を比較して、trueと表示させてください。
|
||||
|
||||
// TODO strとstr3を比較して、trueと表示させてください。
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user