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

Java StringBuffer delete()

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

Java StringBuffer delete() method is used to delete a part of the string. A StringBuffer instance represents a character sequence. We can delete a portion… [Read More]

Tags: StringBuffer

Java StringBuffer insert()

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

Java StringBuffer insert() method is used to insert the given element at the specified position in this character sequence. Syntax of insert() method //insert string “hello”… [Read More]

Tags: StringBuffer

Java StringBuffer setLength() Method

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

Java StringBuffer setLength() method is used to set a new length to the existing StringBuffer sequence. If the new length is greater than the current… [Read More]

Tags: StringBuffer

Java StringBuffer deleteCharAt() Method

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

In this guide, we will discuss the Java StringBuffer deleteCharAt() method with examples. Syntax of deleteCharAt() Method: sb.deleteCharAt(4); //deletes char present at index 4 Here… [Read More]

Tags: StringBuffer

Java StringBuffer appendCodePoint() Method

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

Java StringBuffer appendCodePoint(int codePoint) Method appends string representation of the specified code point to this sequence. In this guide, we will discuss appendCodePoint() method with… [Read More]

Tags: StringBuffer

Java StringBuffer append() Method

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

The append() method of Java StringBuffer class is used to append a specified value at the end of this character sequence. Syntax of append() Method: //append string… [Read More]

Tags: StringBuffer

Java StringBuffer class With Examples

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

Java StringBuffer class is used to create mutable strings. A mutable string is the one which can be modified. StringBuffer is an alternative to Java… [Read More]

Tags: StringBuffer

Java – How null works with StringBuffer

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

You should be careful while appending nulls to StringBuffer as it may result in the unexpected output (if you are not aware how null works… [Read More]

Tags: StringBuffer

Java – How to append a newline to StringBuffer

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

When we append the content to a StringBuffer object, the content gets appended to the end of sequence without any spaces and line breaks. For… [Read More]

Tags: StringBuffer

Difference between String and StringBuffer

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

In this article, we will discuss the difference between String and StringBuffer. Both of these classes used to handle sequence of characters. However they are… [Read More]

Tags: Java-Strings, StringBuffer

Java StringBuffer substring()

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

In this tutorial, we will discuss the Java StringBuffer substring() method with the help of examples. The syntax of substring() method is: sb.substring(4) //substring starting… [Read More]

Tags: StringBuffer

Java StringBuffer replace()

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

In this tutorial, we will discuss Java StringBuffer replace() method with the help of examples. Syntax of replace() method: //replace substring from index 4 to… [Read More]

Tags: StringBuffer

  • « Previous Page
  • 1
  • 2

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