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

  Рет қаралды 15,180

Geekific

Geekific

Күн бұрын

Support us on Patreon: / geekific
GitHub Repository: github.com/geekific-official/...
Stay updated on our videos by subscribing to the channel and hitting the like button!
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:
- Generics and Wildcards in Java Made Simple: • Generics and Wildcards...
- Association, Aggregation and Composition Explained: • UML Class and Object D...
- LinkedList Implementation in Java: • Implementing the Linke...
- Stacks Explained and Implemented in Java: • Stacks: Explained and ...
- Queues Explained and Implemented in Java: • Queues Explained and I...
- Object-Oriented Programming Fundamentals: • What is Object-Oriente...
#Geekific #String #StringBuilder #StringBuffer #Java

Пікірлер: 12
@MrRexxarHell
@MrRexxarHell Жыл бұрын
11 min and so detailed and well explained. I will pin up your channel to my browser in my journey with java :)
@geekific
@geekific Жыл бұрын
Thanks for the support! Really glad I could be of help :)
@molihey
@molihey Жыл бұрын
Great video! Thanks a lot🥳
@zyonsavery4834
@zyonsavery4834 2 жыл бұрын
Very well made video with detailed examples. Great job.
@geekific
@geekific 2 жыл бұрын
Thank you very much! Glad it helped :)
@grovestreet9165
@grovestreet9165 3 ай бұрын
top notch
@davidkurghinyan4872
@davidkurghinyan4872 2 жыл бұрын
Thank you very much dear friend, now I know what is it)))))))) Good job
@geekific
@geekific 2 жыл бұрын
Glad I could help :)
@anasbouchouha6877
@anasbouchouha6877 Жыл бұрын
Thank u
@markconnolly5260
@markconnolly5260 Жыл бұрын
@M5skee_joezay
@M5skee_joezay 2 жыл бұрын
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..]
@geekific
@geekific 2 жыл бұрын
Glad you liked it! Am not sure why is this "wrong", we are trying to demonstrate how to fetch the suffixes, the order in which we retrieve them shouldn't really matter. However, if you prefer to output them this way, go for it!
Java Strings are Immutable - Here's What That Actually Means
7:06
Coding with John
Рет қаралды 599 М.
Teenagers Show Kindness by Repairing Grandmother's Old Fence #shorts
00:37
Fabiosa Best Lifehacks
Рет қаралды 39 МЛН
ШЕЛБИЛАР | bayGUYS
24:45
bayGUYS
Рет қаралды 643 М.
Каха с волосами
01:00
К-Media
Рет қаралды 6 МЛН
Difference between StringBuffer and StringBuilder
7:02
DURGA EDUCATION
Рет қаралды 315 М.
Strings and StringBuilder in Java
1:27:29
Kunal Kushwaha
Рет қаралды 375 М.
the new PS4 jailbreak is sort of hilarious
12:21
Low Level Learning
Рет қаралды 149 М.
Difference Between String StringBuffer and StringBuilder in Java by Deepak
10:54
Teenagers Show Kindness by Repairing Grandmother's Old Fence #shorts
00:37
Fabiosa Best Lifehacks
Рет қаралды 39 МЛН