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 codePointBefore()

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

Java StringBuffer codePointBefore(int index) method returns the unicode code point value for the character before the specified index. For example, sb.codePointBefore(5) would return the code point for… [Read More]

Tags: StringBuffer

Java StringBuffer codePointCount()

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

Java StringBuffer codePointCount(int beginIndex, int endIndex) returns the code points count between the given indexes. In this tutorial, we will discuss codePointCount() method with examples…. [Read More]

Tags: StringBuffer

Java StringBuffer subSequence()

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

Java StringBuffer subSequence() method returns a sub sequence based on the start and end indexes. As we know, StringBuffer is a char sequence, the subSequence()… [Read More]

Tags: StringBuffer

Java StringBuffer setCharAt()

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

Java StringBuffer setCharAt() method sets a specified character at the given index. This method changes the character sequence represented by StringBuffer object, as it replaces… [Read More]

Tags: StringBuffer

Java StringBuffer codePointAt()

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

Java StringBuffer codePointAt(int index) method returns a code point value of the character present at the specified index. A code point is a numeric value that… [Read More]

Tags: StringBuffer

Java StringBuffer offsetByCodePoints()

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

Java StringBuffer offsetByCodePoints(int index, int codePointOffset) method returns the index of a character that is offset from the given index by the specified code points…. [Read More]

Tags: StringBuffer

Java StringBuffer charAt()

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

Java StringBuffer charAt() method returns the character present at the given index. In this tutorial, we will discuss the charAt() method with examples. Syntax of… [Read More]

Tags: StringBuffer

Java StringBuffer ensureCapacity()

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

Java StringBuffer ensureCapacity() method ensures that specified minimum capacity is maintained. If the current capacity is less than the specified minimum capacity then the capacity… [Read More]

Tags: StringBuffer

Java StringBuffer capacity()

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

Java StringBuffer capacity() method returns the current capacity of StringBuffer object. In this tutorial, we will discuss the capacity() method in detail with the help of… [Read More]

Tags: StringBuffer

Java StringBuffer toString()

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

Java StringBuffer toString() method returns the string representation of this character sequence. An object of StringBuffer class represents a character sequence. The toString() method converts… [Read More]

Tags: StringBuffer

Java StringBuffer getChars()

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

In this guide, we will discuss Java StringBuffer getChars() method with examples. Syntax of getChars() method //it will copy the chars from index 1 to… [Read More]

Tags: StringBuffer

Java StringBuffer indexOf()

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

Java StringBuffer indexOf() method returns the first occurrence of the given string in this sequence. In this guide, we will discuss indexOf() method with examples…. [Read More]

Tags: StringBuffer

Java StringBuffer lastIndexOf()

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

Java StringBuffer lastIndexOf() method returns the index of last occurrence of the given string in this sequence. In this tutorial, we will discuss the lastIndexOf()… [Read More]

Tags: StringBuffer

Java StringBuffer length()

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

Java StringBuffer length() method returns the length of the given sequence. The StringBuffer instance represents a character sequence, the length() method returns the total number… [Read More]

Tags: StringBuffer

Java StringBuffer trimToSize()

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

Java StringBuffer trimToSize() method is used to reduce the capacity of StringBuffer instance, if possible. This method checks for non-utilized allocated space, it frees up… [Read More]

Tags: StringBuffer

  • 1
  • 2
  • 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