strings: Java Strings deep dive companion code (pool/intern, indy concat vs StringBuilder JMH, text blocks, string templates)
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01KqJyCidz3ZgRyHABv2GVJh
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
public class StringTemplate {
|
||||
public static void main(String[] args) {
|
||||
String name = "Ann";
|
||||
System.out.println(STR."Hello, \{name}");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user