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. For example, you can find the length of a string with the length() method:
Programiz
programiz.com › java-programming › string
Java String (With Examples)
January 31, 2024 - In Java, a string is a sequence of characters. For example, "hello" is a string containing a sequence of characters 'h', 'e', 'l', 'l', and 'o'. In this tutorial, we will learn about strings in Java with the help of examples.
manipulating strings in Java
There are indeed usually many ways to achieve the same result in programming. But some ways better than the other and it takes time and experience to figure which. When it comes to strings, there are several things to keep in mind. Strings are immutable. Don't use new String(xxx) constructor, it was a design mistake. If you need to do a lot of modifications to a string, especially in a loop, it's advised to use StringBuilder, it works faster. Be careful when there can be non-English characters or Unicode emotes in the string. In these cases charAt and length might return not what you think. Most of the time however we just pass strings around, so these things don't come up too often. More on reddit.com
What Every Java Developer should know about String
[String.split() is] particularly useful if you dealing with comma separated file (CSV) and wanted to have individual part in a String array. No. Fuck you to hell if you parse CSV this way. It will break, and it will all be your fault. CSV allows for commas to be inside the records as long as they're quoted (or escaped), so a line in a CSV file could look like this: "There is only one record on this line. Because it has commas inside quotes, it is one single, unbroken record" String.split() will parse that line wrong. More on reddit.com
Strings are pain for a beginner - Linking the materials that ...
The exam was also done entirely ... syntax highlighting, or compiler to catch mistakes. I've struggled a lot with confidence and feeling like maybe I'm not actually good at programming, so seeing 100/100 genuinely almost made me cry. Obviously one exam doesn't mean I've mastered Java, and I know ... More on reddit.com
Java Strings are pain for a beginner - Linking the materials that helped me
Check OP's post history. More on reddit.com
08:36
Useful string methods in Java! 🧵 - YouTube
Java Strings | Java Tutorial for Beginners Part 9
09:04
Java Strings Tutorial - YouTube
33:17
STRING CLASS & STRING METHODS - JAVA PROGRAMMING - YouTube
12:05
Java Strings Tutorial | What Are Strings In Java? | Java Strings ...
10:16
Java For Beginners: Strings, String Functions & Chars (9/10) - YouTube
Edureka
edureka.co › blog › java-string
Java Strings - How to Declare String in Java With Examples
February 13, 2025 - Java String ValueOf(): This method converts different types of values into string.Using this method, you can convert int to string, long to string, Boolean to string, character to string, float to string, double to string, object to string and char array to string. The signature or syntax of string ...
Oracle
docs.oracle.com › javase › tutorial › java › data › strings.html
Strings (The Java™ Tutorials > Learning the Java Language > Numbers and Strings)
See Java Language Changes for a summary of updated language features in Java SE 9 and subsequent releases. See JDK Release Notes for information about new features, enhancements, and removed or deprecated options for all JDK releases. Strings, which are widely used in Java programming, are a sequence of characters.
Oracle
docs.oracle.com › javase › 8 › docs › api › java › lang › String.html
String (Java Platform SE 8 )
July 21, 2026 - All string literals in Java programs, such as "abc", are implemented as instances of this class. Strings are constant; their values cannot be changed after they are created. String buffers support mutable strings. Because String objects are immutable they can be shared. For example:
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.
BeginnersBook
beginnersbook.com › 2013 › 12 › java-strings
Java – String Class and Methods with examples
String is a sequence of characters, for e.g. “Hello” is a string of 5 characters. In java, string is an immutable object which means it is constant and can cannot be changed once it is created. In this tutorial we will learn about String class and String methods with examples.
YouTube
youtube.com › codewithharry
Java Tutorial: String Methods in Java - YouTube
Java String Methods with Examples: This Java Tutorial video explains different Java String methods associated with the Java String class. Each method is Expl...
Published: September 14, 2020
Views: 1M
Scaler
scaler.com › home › topics › java › strings in java
String in Java (With Examples) - Scaler Topics
June 21, 2022 - Java String literal can be created and represented using the double-quotes. All of the content/characters can be added in between the double quotes. ... In the above-given example, we have declared a string variable called scalerAcad and initialized it with the string value "Scaler Academy".
GeeksforGeeks
geeksforgeeks.org › java › strings-in-java
Java Strings - GeeksforGeeks
A string literal is created by assigning a sequence of characters directly to a String variable using double quotes. Java stores string literals in the String Constant Pool, allowing identical string values to share the same object.
Published: 2 weeks ago
Codecademy
codecademy.com › docs › java › strings
Java | Strings | Codecademy
June 10, 2025 - Strings in Java are immutable objects that represent sequences of characters enclosed in double quotes.
Address: 5851 Legacy Circle, 6th Floor, Plano, TX 75024 United States