← Back to list

Find out the methods missing in StringBuffer and StringBuilder , which is given in String?

equals() : Compares two strings. Returns true if the strings are equal, and false if not .

Kshitij Kumar · 2023-01-22 16:22 · 0 claps · 0.3 min read
#java #java-development #java12 #stringbuffer #string-builder
Open on Medium ↗
Wiki topics: GEN · Genomics & Sequencing

Find out the methods missing in StringBuffer and StringBuilder , which is given in String?

equals() : Compares two strings. Returns true if the strings are equal, and false if not .

toLowerCase() : Converts a string to lower case letters.

toUpperCase() : Converts a string to upper case letters.

isEmpty() : Checks whether a string is empty or not.

equals() : Compares two strings. Returns true if the strings are equal, and false if not .

compareTo() : Compares two strings lexicographically (Alphabetical order).


메타데이터
post_id
f4f85f0a2b7c
slug
find-out-the-methods-missing-in-stringbuffer-and-stringbuilder-which-is-given-in-string-f4f85f0a2b7c
url
https://medium.com/@kshitijkumar021991/find-out-the-methods-missing-in-stringbuffer-and-stringbuilder-which-is-given-in-string-f4f85f0a2b7c
canonical_url
https://medium.com/@kshitijkumar021991/find-out-the-methods-missing-in-stringbuffer-and-stringbuilder-which-is-given-in-string-f4f85f0a2b7c
author_url
https://medium.com/@kshitijkumar021991
status
ok
fetched_at
2026-07-26 06:08:31