🌐
W3Schools
w3schools.com › java › java_strings.asp
Java Strings
A String in Java is actually an object, which means it contains methods that can perform certain operations on strings.
🌐
Oracle
docs.oracle.com › javase › 8 › docs › api › java › lang › String.html
String (Java Platform SE 8 )
April 21, 2026 - The class String includes methods for examining individual characters of the sequence, for comparing strings, for searching strings, for extracting substrings, and for creating a copy of a string with all characters translated to uppercase or to lowercase. Case mapping is based on the Unicode Standard version specified by the Character class. The Java language provides special support for the string concatenation operator ( + ), and for conversion of other objects to strings.
🌐
W3Schools
w3schools.com › java › java_ref_string.asp
Java String Reference
Java Examples Java Videos Java Compiler Java Exercises Java Quiz Java Code Challenges Java Practice Problems Java Server Java Syllabus Java Study Plan Java Interview Q&A ... The String class has a set of built-in methods that you can use on strings.
🌐
Oracle
docs.oracle.com › javase › 7 › docs › api › java › lang › String.html
String (Java Platform SE 7 )
The class String includes methods for examining individual characters of the sequence, for comparing strings, for searching strings, for extracting substrings, and for creating a copy of a string with all characters translated to uppercase or to lowercase. Case mapping is based on the Unicode Standard version specified by the Character class. The Java language provides special support for the string concatenation operator ( + ), and for conversion of other objects to strings.
🌐
Javatpoint
javatpoint.com › java-string
What is String - javatpoint
Java String class with methods such as concat, compareTo, split, join, replace, trim, length, intern, equals, comparison, substring operation.
🌐
GeeksforGeeks
geeksforgeeks.org › java › strings-in-java
Java Strings - GeeksforGeeks
Strings are immutable, meaning their value cannot be changed after creation. Java provides a rich API for manipulation, comparison, and concatenation of strings.
Published   3 days ago
🌐
Edureka
edureka.co › blog › java-string
Java Strings - How to Declare String in Java With Examples
February 13, 2025 - For Example: String s=“Welcome”; By new keyword : Java String is created by using a keyword “new”. For example: String s=new String(“Welcome”); It creates two objects (in String pool and in heap) and one reference variable where ...
🌐
Oracle
docs.oracle.com › en › java › javase › 11 › docs › api › java.base › java › lang › String.html
String (Java SE 11 & JDK 11 )
January 20, 2026 - The class String includes methods for examining individual characters of the sequence, for comparing strings, for searching strings, for extracting substrings, and for creating a copy of a string with all characters translated to uppercase or to lowercase. Case mapping is based on the Unicode Standard version specified by the Character class. The Java language provides special support for the string concatenation operator ( + ), and for conversion of other objects to strings.
🌐
Programiz
programiz.com › java-programming › string
Java String (With Examples)
Since strings are represented by double quotes, the compiler will treat "This is the " as the string. Hence, the above code will cause an error. To solve this issue, we use the escape character \ in Java.
Find elsewhere
🌐
Android Developers
developer.android.com › api reference › string
String | API reference | Android Developers
Skip to main content · English · Deutsch · Español – América Latina · Français · Indonesia · Polski · Português – Brasil · Tiếng Việt · 中文 – 简体
🌐
Oracle
docs.oracle.com › en › java › javase › 22 › docs › api › java.base › java › lang › String.html
String (Java SE 22 & JDK 22)
July 16, 2024 - The String class represents character strings. All string literals in Java programs, such as "abc", are implemented as instances of this class.
🌐
Tutorialspoint
tutorialspoint.com › java › java_strings.htm
Java - String Class
Strings, which are widely used in Java programming, are a sequence of characters. In Java programming language, strings are treated as objects. The Java platform provides the String class to create and manipulate strings.
🌐
IONOS
ionos.com › digital guide › websites › web development › java strings
How to use Java strings - IONOS
January 6, 2025 - Java strings are used to represent sequences of characters or digits. We explain everything you need to know about this data type.
🌐
TheServerSide
theserverside.com › definition › Java-string
What Is a Java String?
Java strings are an important element of the Java programming language. Learn how they can be used and manipulated.
🌐
Microsoft Learn
learn.microsoft.com › en-us › dotnet › api › java.lang.string
String Class (Java.Lang) | Microsoft Learn
The String class represents character strings. All string literals in Java programs, such as "abc", are implemented as instances of this class.
🌐
Dev.java
dev.java › learn › numbers-strings › strings
Strings - Dev.java
For each object that is not a String, its toString() method is called to convert it to a String. Note: Up until Java SE 15, the Java programming language does not permit literal strings to span lines in source files, so you must use the + concatenation operator at the end of each line in a multi-line string.
🌐
Coderanch
coderanch.com › t › 779364 › java › concat-Strings
+= and .concat() for Strings (Beginning Java forum at Coderanch)
February 2, 2024 - I understand that Strings are immutable in Java, and I more or less understand how that immutability works, with regards to the Strings being stored in the String Pool, etc. My question is, what is += doing differently from .concat() ?
🌐
University of Washington
courses.cs.washington.edu › courses › cse341 › 98au › java › jdk1.2beta4 › docs › api › java › lang › String.html
Class java.lang.String
The class String includes methods for examining individual characters of the sequence, for comparing strings, for searching strings, for extracting substrings, and for creating a copy of a string with all characters translated to uppercase or to lowercase. The Java language provides special support for the string concatentation operator ( + ), and for conversion of other objects to strings.
🌐
CodeGym
codegym.cc › java blog › strings in java › java strings
Java Strings
March 4, 2025 - World Length: 12 First String: Java Second String: Programming Joined String: Java Programming Strings jpf and jps are equal: true Strings jpf and jpt are equal: false Upper case jpf: JAVA PROGRAMMING Replacing g with v in jpf: java provramminv · We hope by now you understand what are strings in java, its classes and how to implement its different methods.