About Java String class

I made a mistake, so I'm posting it to organize it.

String name = "Tanaka-kun"; String name = new String ("Tanaka-kun"); These two have the same meaning, and specially because strings are often used. You can enter with ** String name = "Tanaka-kun"; **.

In other words, it becomes a character string object, and Tanaka-kun is not assigned to the variable name, but reference data is stored in name.

Recommended Posts

About Java String class
About Java class
About class division (Java)
About Java StringBuilder class
[Java] About Singleton Class
About java abstract class
Java string
Java inflexible String class substring
About Java class loader types
[Java] About String and StringBuilder
About Java class variables class methods
Various methods of Java String class
About Java interface
[Java] About Java 12 features
[Java] Class inheritance
java Scanner class
Java HashMap class
[Java] About arrays
[Java] String padding
About class inheritance.
Something about java
Where about java
About Java features
Java anonymous class
About Java threads
[Java] About interface
Java string processing
About Java arrays
String class methods
About java inheritance
About interface, java interface
[java] abstract class
[Java] Object class
Split string (Java)
Java local class
About List [Java]
About java var
About Java literals
About Java commands
About Java log output
About Java functional interface
Java, about 2D arrays
About the StringBuilder class
About Java method binding
Java string multiple replacement
About method splitting (Java)
Java inner class review
[Java Silver] About initialization
About Java Array List
About Java Polymorphism super ()
[Swing] About JFrame class
Java class type field
[Note] Java: String search
[Note] Java: String survey
About inheritance (Java Silver)
About Java access modifiers
About Java lambda expressions
About Java entry points
About Java 10 Docker support
Personal summary about Java
About sorting java.util.Arrays class