BeginnersBook

  • Home
  • Java
    • Java OOPs
    • Java Collections
    • Java Examples
  • C
    • C Examples
  • C++
    • C++ Examples
  • DBMS
  • Computer Network
  • Python
    • Python Examples
  • More…
    • jQuery
    • Kotlin
    • WordPress
    • SEO
    • JSON
    • JSP
    • JSTL
    • Servlet
    • MongoDB
    • XML
    • Perl

StringJoiner toString() Method in Java

Last Updated: June 26, 2024 by Chaitanya Singh | Filed Under: java

In this tutorial, we will discuss toString() method of StringJoiner class. This method is used to get the string representation of StringJoiner object, this includes… [Read More]

Tags: Java-Strings

StringJoiner add() Method in Java

Last Updated: December 1, 2024 by Chaitanya Singh | Filed Under: java

StringJoiner class is introduced in Java 8. It is a part of the java.util package. The main purpose of a StringJoiner is to create a sequence… [Read More]

Tags: Java-Strings

Why String Immutable or Final in Java

Last Updated: December 1, 2024 by Chaitanya Singh | Filed Under: java

The immutable and final nature of String class is intentional. This is by design to offer several features and advantages. In this guide, we will… [Read More]

Tags: Java-Strings

Immutable String in Java

Last Updated: June 9, 2024 by Chaitanya Singh | Filed Under: java

A String in Java is immutable, which means once you create a String object, its value cannot be changed. Any changes (such as concatenation) made… [Read More]

Tags: Java-Strings

Toggle String in Java

Last Updated: June 9, 2024 by Chaitanya Singh | Filed Under: java

In this guide, we will learn how to toggle string in Java. Toggle means reversing the case of each character of String (i.e., converting uppercase… [Read More]

Tags: Java-Strings

How to take String Input in Java

Last Updated: June 9, 2024 by Chaitanya Singh | Filed Under: java

In this tutorial, we will learn how to take String input in Java. There are two ways you can take string as an input from… [Read More]

Tags: Java-Strings

Java Switch with Strings

Last Updated: June 9, 2024 by Chaitanya Singh | Filed Under: java

Introduced in Java 7, you can use switch statement with Strings. This makes code more readable as sometimes the string value of switch case variable… [Read More]

Tags: Java-Strings

String Concatenation in Java

Last Updated: June 7, 2024 by Chaitanya Singh | Filed Under: java

String concatenation is process of combining multiple strings. In Java, there are multiple ways to do this. In this tutorial, we will see several different… [Read More]

Tags: Java-Strings

ValueOf() Method in Java

Last Updated: June 2, 2024 by Chaitanya Singh | Filed Under: java

In this guide, we will discuss one of the most commonly used method in Java. The valueOf() method is available in several wrapper classes and other… [Read More]

Tags: Java-Strings

Java String Max Size

Last Updated: June 1, 2024 by Chaitanya Singh | Filed Under: java

In Java, a string is internally stored as an array of characters. This means the max size of a string is equal to the max… [Read More]

Tags: Java-Strings

Remove special characters from a String in Java

Last Updated: June 1, 2024 by Chaitanya Singh | Filed Under: java

In this tutorial, we will learn how to remove special characters from a string in java. For example, if the given string is “Hello @… [Read More]

Tags: Java-Strings

Java null literal

Last Updated: October 16, 2022 by Chaitanya Singh | Filed Under: java

The null keyword in java is a literal. It is neither a data type nor an object. The null (all letters in small case) is… [Read More]

Tags: Java-Strings

Check if String is Null, Empty or Blank in Java

Last Updated: January 7, 2023 by Chaitanya Singh | Filed Under: java

In this guide, we will learn how to check if a string is null, empty or blank. First let’s see what is the difference between… [Read More]

Tags: Java-Strings

Java StringBuilder Class With Examples

Last Updated: December 1, 2024 by Chaitanya Singh | Filed Under: java

StringBuilder in Java is used to create mutable strings. A mutable string is the one which can be modified instead of creating new string instance…. [Read More]

Tags: Java-StringBuilder, Java-Strings

Split String into array of Characters in Java

Last Updated: September 30, 2022 by Chaitanya Singh | Filed Under: Java Examples

In this guide, we will see how to split a string into array of characters in Java. This can be archived by using this regex… [Read More]

Tags: Java-Array, Java-Strings

  • 1
  • 2
  • 3
  • …
  • 5
  • Next Page »

Java Tutorial

Java Introduction

  • Java Index
  • Java Introduction
  • History of Java
  • Features of Java
  • C++ vs Java
  • JDK vs JRE vs JVM
  • JVM - Java Virtual Machine
  • First Java Program
  • Variables
  • Data Types
  • Operators

Java Flow Control

  • Java If-else
  • Java Switch-Case
  • Java For loop
  • Java while loop
  • Java do-while loop
  • Continue statement
  • break statement

Java Arrays

  • Java Arrays

OOPs Concepts

  • OOPs Concepts
  • Constructor
  • Java String
  • Static keyword
  • Inheritance
  • Types of inheritance
  • Aggregation
  • Association
  • Super Keyword
  • Method overloading
  • Method overriding
  • Overloading vs Overriding
  • Polymorphism
  • Types of polymorphism
  • Static and dynamic binding
  • Abstract class and methods
  • Interface
  • Abstract class vs interface
  • Encapsulation
  • Packages
  • Access modifiers
  • Garbage Collection
  • Inner classes
  • Static import
  • Static constructor

Java Exception Handling

  • Exception handling
  • Java try-catch
  • Java throw
  • Java throws
  • Checked and Unchecked Exceptions
  • Jav try catch finally
  • Exception Examples
  • Exception Propagation

Collections Framework

  • Collections in Java
  • Java ArrayList
  • Java LinkedList
  • Java Vector
  • Java HashSet
  • Java LinkedHashSet
  • Java TreeSet
  • Java HashMap
  • Java TreeMap
  • Java LinkedHashMap
  • Java Queue
  • Java PriorityQueue
  • Java Deque
  • Comparable interface
  • Comparator interface
  • Collections Interview Questions

MORE ...

  • Java Scanner Class
  • Java 8 Features
  • Java 9 Features
  • Java Conversion
  • Java Date
  • Java Multithreading
  • Java I/O
  • Java Serialization
  • Java Regex
  • Java AWT
  • Java Swing
  • Java Enum
  • Java Annotations
  • Java main method
  • Java Interview Q

Copyright © 2012 – 2025 BeginnersBook . Privacy Policy . Sitemap