String vs StringBuilder vs StringBuffer | What is Immutability? | Java String Operations | Geekific

preview_player
Показать описание

In this video we cover the differences between Java’s String, StringBuilder and StringBuffer by comparing their several usages. Additionally, we explain what immutability is and implement the most used and common string operations while identifying, why in each of these operations we made use of Strings or StringBuilders.

Timestamps:
00:00 Introduction
00:21 StringBuilder vs. StringBuffer
01:08 String vs. StringBuilder
02:44 Comparing String Operations
05:46 Reversing a String
06:54 Suffixes of a String
08:46 Prefixes of a String
09:14 The Longest Common Prefix Operation
10:19 The Longest Repeated Substring Operation
11:47 Thanks for Watching!

If you found this video helpful, check other Geekific uploads:

#Geekific #String #StringBuilder #StringBuffer #Java
Рекомендации по теме
Комментарии
Автор

11 min and so detailed and well explained. I will pin up your channel to my browser in my journey with java :)

MrRexxarHell
Автор

Thank you very much dear friend, now I know what is Good job

davidkurghinyan
Автор

Very well made video with detailed examples. Great job.

zyonsavery
Автор

Awesome tutorial. Only mistake here is your Suffix code is wrong. You're supposed to start at the 'end' of the string putting your starting index at the C of Geekific. Your for loop puts the starting index of substring at G. Output should be [c, ic, fic ....] not [Geekific, eekific, ekific..]

Mskee_joezay