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

Support us on Patreon: / geekific
Discord Community: / discord
GitHub Repository: github.com/geekific-official/
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
    @MrRexxarHell2 жыл бұрын

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

  • @geekific

    @geekific

    2 жыл бұрын

    Thanks for the support! Really glad I could be of help :)

  • @molihey
    @molihey Жыл бұрын

    Great video! Thanks a lot🥳

  • @zyonsavery4834
    @zyonsavery48343 жыл бұрын

    Very well made video with detailed examples. Great job.

  • @geekific

    @geekific

    3 жыл бұрын

    Thank you very much! Glad it helped :)

  • @grovestreet9165
    @grovestreet91655 ай бұрын

    top notch

  • @davidkurghinyan4872
    @davidkurghinyan48722 жыл бұрын

    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_joezay2 жыл бұрын

    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!

Келесі