Code360 powered by Coding Ninjas X Naukri.com. Code360 powered by Coding Ninjas X Naukri.com
Last updated: Feb 22, 2022

Strings

String is a sequence of characters, For example: "hello" is a string containing a sequence of characters 'h' , 'e' , 'l' , 'l' , and 'o' . We use double quotes to represent a string in Java.In java, string is an immutable object which means it is constant and can not be changed once it has been created.
Strings in Java | Part 1 EASY
This article explains the fundamental concepts of Strings in Java, its internal implementation and various methods of the Java String class.
Immutable String in Java
This blog offers a detailed guide on understanding why strings are immutable in Java programming languages, with examples. To know more about it, read on!
String Comparison EASY
This blog explains the details of different methods used for String comparison along with their syntax and examples.
String Concatenation EASY
This blog explains the details of different approaches used for String concatenation along with their syntax and examples.
String Class Methods EASY
This blog contains the string class methods of the java programming language. Various examples are presented in the blog to explain the concept in detail.
Author Aditi
0 upvotes
Strings vs StringBuffer EASY
This blog explains the differences between String and StringBuffer, as well as a performance test to see how long they take to execute.
StringBuffer Class
 In this blog, we will cover StringBuffer Class.
StringBuilder Class in Java
Learn and explore the functions and implementation of the StringBuilder class in Java.
StringTokenizer in Java
Learn and explore the StringTokenizer class in Java.
StringUtils IsEmpty EASY
This article will discuss the IsEmpty method of StringUtils class. We will learn to use the IsEmpty method to check if a CharSequence is empty or null.
Java Convert String to Boolean MEDIUM
This article discusses the concept to change string to boolean and ways to convert string to boolean in Java and Javascript.
Special String Operations in Java EASY
This article explains all the special string operations in Java String class with the help of various examples and programs.
How to convert String to Float in Java? EASY
In this article, learn how to convert string to float in Java and float to string in Java with examples.
Author Manshi
0 upvotes

String Methods in Java

Java has a lot of String methods that allow us to work with strings.Here you will find all the string methods available in Java.
String charAt() EASY
This blog contains the string class method charAt() description of the java programming language. Various examples are presented in the blog to explain the concept in detail.
Author Aditi
0 upvotes
String compareTo EASY
This blog contains the string class method compareTo() description of the java programming language. Various examples are presented in the blog to explain the concept in detail.
Author Aditi
0 upvotes
String contains() EASY
In this article, we will discuss the string contains() method, its syntax, parameter, return value and implementation with the help of code examples.
String endsWith()
In this article, we will learn about the concept of the string endsWith() method in java with the help of code examples.
String equals() in Java EASY
In this blog, we will learn the string equals() method in Java in detail, along with its syntax and examples.
Java equalsIgnoreCase() EASY
This blog discusses the equalsIgnoreCase() in Java. It explains the advantage of using this function with examples.
String format() EASY
In this article, we will learn about the concept of the string format() method with the help of code examples.
String Manipulation in Java EASY
String manipulation in Java refers to the process of modifying or working with strings, which are sequences of characters.
String getBytes() in Java EASY
This blog will be containing a detailed discussion on the String getChars() method in Java Programming. We will be learning its syntax, parameters, and return type with the help of an example.
Java String getChars() Method EASY
This blog will be containing a detailed discussion on the String getChars() method in Java Programming. We will be learning its syntax, parameters, and return type with the help of an example.
Java String indexOf() EASY
This blog discusses the indexOf() function in Java. It also explains the four overloaded functions of the indexOf() function with examples.
Java String intern() Method EASY
This blog will be containing a detailed discussion on the String intern() method in Java Programming. We will be learning its syntax, working, parameters, and return type with the help of an example.
String isEmpty() EASY
This blog will demonstrate the functioning of the isEmpty() function of Strings along with the examples.
String Join() EASY
This blog offers a detailed guide on understanding the Join() method of the String class in Java programming languages, with examples. To know more about it, read on!
String lastIndexOf() EASY
This blog demonstrates the use of String lastIndexOf() function in Java with examples.
Java String Length() EASY
This article will discuss the java string length() method. We will see what the syntax is and the parameters required in Java's string length() method.
String replace( ) EASY
In this article, we will discuss the String replace method in java, its syntax, and implementation, and we will see some examples.
Java String replaceall()
In this blog, we will be discussing the java string replaceall() function.
String split() in Java
This blog talks about the string split() method in Java.
String startsWith() in Java
This article talks about String startsWith() method in Java.
String substring() in Java EASY
This blog tells us about string substring() method in Java.
String toCharArray() in Java
This blog gives a complete demonstration of Java String toCharArray() function in Java with examples.
Java String toLowerCase() method MEDIUM
In this article, we will discuss how to convert all the letters of a string to lowercase using the String toLowerCase() method in Java and its implementation.
String toUpperCase()
This blog gives a complete demonstration of String toUpperCase() function in Java with examples.
String trim()
This blog gives a complete overview of Java String trim() function with an example.
Trim in Java
In this article, we will learn about the trim in Java and how to use it. We will also see some examples to understand this method's working properly.
String valueOf() in Java
This blog gives a complete demonstration of the String valueOf() function in Java with examples.
What is String Args[] in Java? EASY
After completing this article, you will master the string args in Java. We will discuss the need and examples of string args in Java.