This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static void main(String[] args) { | |
List<String> mistir = new ArrayList<String>(); | |
mistir.add("叡智"); | |
zaki(mistir); | |
System.out.println(mistir.get(0));//”叡智” | |
} | |
//即死呪文 | |
private static void zaki(List<String> estark){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static void main(String[] args) { | |
String mistir = "叡智"; | |
zaki(mistir); | |
System.out.println(mistir);//”叡智” | |
} | |
//即死呪文 | |
private static void zaki(String estark){ | |
estark = "死"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static void main(String[] args) { | |
List<String> mistir = new ArrayList<String>(); | |
mistir.add("叡智"); | |
zaki(mistir); | |
System.out.println(mistir.get(0));//”突然の死” | |
} | |
//即死呪文 | |
private static void zaki(List<String> estark){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static void main(String[] args) { | |
int mistir = 1; | |
add(mistir); | |
System.out.println(mistir);//1だよ | |
} | |
private void add(int estark){ | |
estark += 1; | |
} |