1. Java? ??? ? ??
Java?? ???? ?????? ?? ?????. String Intern Pool???? ??? String Pool? Java? ??? ??? ????? ?? ??? ???? ???? ?? ??? ?????. ? ??? Java? ??? ???? ????? ???? ??? ???? ? ?????.
1.1 ??? ??? ??????
??? ?? Java ? ???? ??? ??? ??? ???? ?????. ??? ???? ???? Java? ??? ???? ?? ?? ????? ?????. ???? Java? ? ??? ??? ???? ?? ?? ??? ??? ??????. ? ?? ??? ??? ??? ?? ?? ?? ???? ???? ??? ????? ? ??? ???.
1.2 ??? ?? ??? ??????
??? ??? ? : ??? ??? ??? ???? ???? ?? ?????. "string" ??? ???? ?? ???? ??? ?? ?????. "Hello" ? "World"? ?? ??? ???? ??? ?????.
? ??? : new String("string") ??? ???? ??? ???? ??? ?? ???? ?? ? ???? ?????. ??? ??? ??? ?? .intern() ???? ???? Java? ??? ?? ???? ??? ??? ??? ??? ?????.
2. ??? ?? ??
String Pool? ??? ???? ?? ????? ???? Java ??? ???? ? ??? ? ? ????. ??????? ?? ??? ???? ??? ????.
2.1 ??? ???
??? ???? ??????? ??? ?? ???? ???? ?? ?? ????. ??? ???? ???? ?? ???????? ?? ??? ???? ??? ?? ?? ??? ??? ??? ?? ??? ? ?? ??????.
?? ??:
public class StringPoolExample { public static void main(String[] args) { String str1 = "Java"; String str2 = "Java"; // Check if both references point to the same object System.out.println(str1 == str2); // Output: true } }
? ??? str1 ? str2? String Pool? ??? ??? ???? ??? ???? ?????.
2.2 ?? ??
??? ??? ???? ????? ??? ??? ? ????. ???? ??? ? ???? JVM? ??? ???? ??? ? ??? ?? ? ??? ???? ? ????. ??? ?? ??? ?? ? ??? ??? ???? ??? ?? ? ????.
?? ??:
public class StringPerformanceExample { public static void main(String[] args) { String str1 = "Performance"; String str2 = new String("Performance").intern(); // Check if both references point to the same object System.out.println(str1 == str2); // Output: true } }
???? str1? ???? ??? ???? ??, str2? ??? ??? ????? ???? ?? ????? ??????.
3. ??? ???
??? ?? ???? ???? ??? ????, ?? ???? ??? ??? ???????? ??? ? ? ????. ?? ??? ???? ??? ??? ????.
???? ??? ?? ??
??? ???? intern() ???? ???? ??? ??? ?? ??? ???? ? ??? ???. ? ??? ?? ??? ?? ?????? ?? ??? ??? ??? ??? ? ?????.
??? ?? ???
?? ??? ??? ???? ???? ??? ? ??? ???? ???? ??? ??? ???? ????? ? ??? ??? ? ????.
?? ??:
public class StringPoolExample { public static void main(String[] args) { String str1 = "Java"; String str2 = "Java"; // Check if both references point to the same object System.out.println(str1 == str2); // Output: true } }
? ??? str1 ? str2? equals() ???? ???? ???? ??? ??? ???? ??? ? ??? ??? ?????. .
4. ??
String Pool? ??? ???? ??? ????? Java? ??? ?????. ?? ??? ???? ????? ???? ?? ????? ???? Java ??????? ??? ? ????. ??? ??? ?? ??? ??? ?? ??? ??? ?????!
?? ? ?? ???? ?????: Java ??? ?? ??
? ??? Java ??? ?? ??? ?? ?????. ??? ??? PHP ??? ????? ?? ?? ??? ?????!

? AI ??

Undress AI Tool
??? ???? ??

Undresser.AI Undress
???? ?? ??? ??? ?? AI ?? ?

AI Clothes Remover
???? ?? ???? ??? AI ?????.

Clothoff.io
AI ? ???

Video Face Swap
??? ??? AI ?? ?? ??? ???? ?? ???? ??? ?? ????!

?? ??

??? ??

???++7.3.1
???? ?? ?? ?? ???

SublimeText3 ??? ??
??? ??, ???? ?? ????.

???? 13.0.1 ???
??? PHP ?? ?? ??

???? CS6
??? ? ?? ??

SublimeText3 Mac ??
? ??? ?? ?? ?????(SublimeText3)

??? ??











?? ?? ?? ??? ??? ?? ??? ??, ? ? ?? ? ??? ?????. 1. ??? ?? ???? ?? ???? ???-????, ? ??? ??? ??? ? ????, Hashmap? ???-??? ?? ??? ??? ???? ????. 2. NULL ? ?? ???? HashMap? ??? NULL ?? ?? ? ?? ???? ?? HashTable? NULL ?? ?? ???? ??? NullPointerException? ?????. 3. ????? ??? ????? ?? ??? ?? ?? ? ????? HashTable? ? ??? ?? ?? ??? ????. ?? ConcurrenTashMap? ???? ?? ????.

Java? ?? ??? ??? ?? ??? ??? ?? ??? ??? ?? ??? ?? ?? ??? ???? ??? ?? ???? ?????. 1. ??? ???? ??? ?? ?? ? ???? ?? ??? ???? ?? ?? ??? ? ????. 2. ???? ?? ??? ???? ??? ?? ???? ?? ?? ??? ???????. 3. ?? ???? ?? ?? ?? ? ???? ???? ?? NULL ?? ??? ? ????. 4. ?? ???? ??? ?? ?? ? ??? ?????? ?? ??? ??? ?? ?? ??? ????? ??? ??? ??? ??????? ?? ???? ??????.

staticmethodsininterfaceswereIntRectionSelffacesswithinteffaceswithinteffaceswithintintinjava8toallowutilityFunctionswithinterfaceitswithinteffaceswithinterfaceffaces

JIT ????? ??? ???, ??? ?? ? ???, ?? ?? ? ???? ? ? ?? ?? ??? ? ?? ??? ?? ??? ??????. 1. ??? ???? ?? ?? ??? ??? ?? ?? ???? ??? ?? ?????. 2. ??? ?? ? ??? ?? ?? ? ??? ???? ?? ?? ???; 3. ?? ??? ??? ?? ??? ???? ???? ???? ? ?? ?? ??? ?????. 4. ?? ??? ?? ??? ??? ???? ???? ?? ? ??? ???? ?? ??? ?????.

???? ??? ??? Java?? ??? ?? ???? ??? ?? ? ? ??? ??? ???? ? ?????. ?? ???? ??? ??, ??? ?? ??? ?? ?? ??? ??? ????? ???? ????? ?????. ?? ??? ??? ??, ????? ? ??? ????, ?? ??? ??? ?????? ? ?? ? ?? ?????.

injava, thefinalkeywordpreventsavariable'svalue'svalueffrombeingchangedafterassignment, butitsbehaviordiffersforprimitivesandobjectreences.forprimitivevariables, asinfinalintmax_speed = 100; wherereassoncesanerror.forobjectref

??? ??? ?? ?? ??? ????? ? ???? ????? ???? ?? ???? ?? ???? ?????. ?? ??? ??? ????. ?? ?? ?? ??? ???? ???? ?? ?? ??? ??? ?? ?? ??? ??? ?????. ?? ??? ??? ????. ?? ??? ?? ??? ?? ?? ??? ?? ?? ??? ???? NewClass ()? ??? ?? ???? ????. ?? ??? ?? ??? ???? ?? ??? ?? ? ? ??? ?? ?? ??? ????? ????? ?????. ?? ??, ?? ?????? ?????, ??? ? ?? ????? ??? ?? ?????. ???? ?? ?? ??? ???? ?? ???? ?? ? ??? ???? ?? ??? ?? ?????? ?????. ???? ???? ??? ??, ?? ?? ? ?? ??? ????, ?? ?? ???? ?????.

??? ? ?? ??? ???? : ????? ?? ?. 1. int? ???? ???? ?? ?? ?? ? ??? ???? ?????. 2. ?? ? ???? (int) myDouble ??? ?? ?? ??? ?????. ?? ??? ??? ?? ??? ?? ??, ?? ?? ?? ???? ?? ??? ?? ???? ?? ?????. ???? ? ??? ??? ????. ?? ??? ??? ??? ??? ??? ?? ??? ??? ? ??? ?? ???? ??? ??? ??? ??? ? ??? ?? ??? ?? ??? ?? ?? ? ? ????. ?? ?? ??? ?? ??? ??? ??? ??? ? ??????.
