Strings and StringBuilder in Java
HTML-код
- Опубликовано: 3 авг 2024
- In this video, we cover one of the most important topics, Strings and StringBuilder in Java.
We look into how it works internally, various operations, memory management, and some examples!
Take part in the learning in public initiative! Share your learnings on LinkedIn and Twitter with #DSAwithKunal & don't forget to tag us!
👉 Resources
- Join Replit: join.replit.com/kunal-kushwaha
- Complete Java DSA playlist: • Java + DSA + Interview...
- Code, Assignments, & Notes: github.com/kunal-kushwaha/DSA...
➡️ Connect with me: kunalkushwaha.com
=========================================
Timestamps:
0:00:00 Introduction
0:00:36 What is String?
0:02:35 String Creation: string literal
0:03:36 Internal Working of String
0:07:29 String Pooling
0:09:43 String Immutability
0:16:17 String Comparison: ==
0:20:13 String Creation: new keyword
0:22:02 String Comparison: .equals()
0:28:01 PrintStream Class
0:38:12 toString() Method
0:42:47 Pretty Printing in Java
0:47:05 Format Specifiers
0:48:29 String Concatenation Operator
1:00:42 String Performance
1:09:59 StringBuilder Class
1:12:37 String Methods
1:17:50 Palindrome Program
1:26:20 Outro
#strings #placement #dsa #interviews
DSA + interview preparation playlist: ruclips.net/p/PL9gnSGHSqcnr_DxHsP7AW9ftq0AtAyYqJ
If you have any doubt....🙃🙃 don't worry we will cover it in Object Oriented Programming😉
Can't Believe I was waiting for a Lecture To drop, turning into a geek for Java
Amazing String session, now will spend the rest of the weekend doing leetcode questions after watching these lectures it makes me really confident
What an amazing work you are doing Kunal. I wish I had a mentor like you during my first year of engineering. Learning DSA from your bootcamp and it's amazing. Thank you so much Kunal. You are amazing❤️
Hello..kunal bhaiya....
Pehle muje smj nhi aata tha ki kon sa path follow kru kaise kru...and ques. Kis type ke solve kru...but not i am following your course... And i am doing great..
Your way of teaching and set of ques. which you are giving is perfect.🔥🔥
Main things is you are giving a excellent path to master in dsa.
thank you soo much ❤️💯
Glad I could help!
@@KunalKushwaha pls help us..... ignore the things said by others and criticize you and focus on what we want..which makes us happy...do continue your good work...like you said " Time will Tell"
@@KunalKushwaha Bhai 🙏🙏🙏please guidance playlist maat hatao please 🥺
@@KunalKushwaha bhaiya plz maat hatao guidance playlist
@@KunalKushwaha please please
following your videos since a week and mannnn........you haveee done someee great job here...the best part is that you cover all the topics in depth, like memory allcoation, the internal working of the program, what classes and objects java has in it and how it helps us to perform any action. like in this video only the way you've explained the concept of println and how it calls toString() and our output is printed. Just wow man....keep it up.......happy that i found your course on youtube. thanks a lot......
The charming thing about your tutorial is even if the topic is known to me, I gather some new, in depth knowledge every time.
When you ask a question while teaching, we cannot help but shout the answer out loud!! Awesome string tutorial as always. I have never studied String to that depth.
Watching this video, 1.5hour flew by and felt like just 10mins content! That's how teaching is supposed to be! Doesn't make you feel bored.
Bhai...bhai bhai....kyaa cheez hai ye course ....koi imagin nhi ke skta ki kitni shan bhasha mai aap sikha rhe hai...aapke sikhane ka tarika..aur aapki knowledge dono hi ... beyond the imagination...🙏🙏🙏🙏❤️❤️❤️❤️❤️
This is some amazing stuff, I've never really seen in more depth anywhere else. ❤️
I believe in kunal kushwaha supremacy
This playlist is very very good.. Kunal bhai pls thoda jaldi videos daal karo..it will help me in placement studies..mera placement chalu hai abhi..
yes
notes
47:55
48:10
55:29 , 58:39
-->
+ operator can be only used if one of them is string
complex object + string || primitive + string ---> object will be convert to string using to string method in println.
1:03:43 -> new object created everytime
1:11:54
String Converting into character array 1:13:20
1:13:26
Original one is not changed, new object is created. 1:13:56
Index of 1:14:40
Split array 1:16:59
Palindrome 1:24:43
Great!!
digital bad handwriting
did he explained about memory allocation and management? if yes in which video or lecture?
thank you for these timestamps
@@karthiknair1430 😂man
Detailed explanation, even a non IT background can easily be master in Java if they follow this Java playlist sincerely
I learned in java at the level of JSP and servlets.
So, I confidently tell you that if you want to learn String and StringBuilder classes very deeply, you are at the right place.
Keep Learning.
Kunal you are doing great work, Keep it up.
Thanks for sharing!
from where did u learn JSP and Servlets?
Will u share link?
Kunal, I'm amazed by your explanation of strings. Previously I had followed other YT channels for DSA but they all are nothing in front of your playlist, I can surely vouch for this playlist.
Thanks, Buddy...!!!
Never understood the need for/ use of StringBuilder in class 10 (ISC board).
Thank you for the time and efforts you're putting in for us; You are BIG!
Your pure intention is what that make's your explanation clear your selflessness reflects in your videos...Thanking you with my all heart
So much information in one video.
Had to make a lot of notes as each line felt important 😂.
Awesome lecture.
Glad it was helpful!
True😂
true
Every solid and clear explantion , without making confusion.
thanks kunal just because of your amazing explanation skills im able to love java
i tried many courses of data structure from youtube but you are the best...you said it and you meant it
Thank god I am not wasting my time and I am following this course right in the beginning of my learning journey. I will surely post over here again when I get a job. Thank you Kunal for this content.❤❤❤
awesome playlist Kunal more entertaining than a Netflix movie 😂 and icing on the cake is your notes.
thanks for your hard work.
You are really doing a great work. Most importantly, you take out time from your schedule to make lectures for us. That's really commendable. I am very grateful to u.
this series is supposed to be completed
I have never seen these kind of teaching throughout my carrier#Keep Posting More Kunal
Thank you so much... 🙏🙏
I love this playlist and one thing is also respect that please continue this series onece again👏🏻🙏🙏🙏
only 10 mins to the video yet so much info about STRINGS . Really a very helpful video
I don't think nobody can teach like you with great content..ab lag rh hai ki zindagi me kuchh bara hoga🙏
I am following your course... And I am doing great..
Your way of teaching and set of ques. which you are giving is perfect.🔥🔥
Great lecture on strings in so much depth. I highly recommend your course to all my friends in college. Great BootCamp. Thank you for all of this.🤩🤩
Bhaiya cleared up a doubt that I've had for a long time. Hats off man!
This made my day. Learning is so so easy. Love your work.
Thank you.
Really helpful no one explained all this stuffs in this way. loving to get more things.
Hello man, thank you so much for the time and effort you're putting into making these videos. They're really appreciated. with love from Nigeria.
With due respect to "Durga" sir. I have seen the similarity of the explanation and much better and how the things works internally. While the repetition is there in durga soft classes but you have made much easier to follow this one and stick to this course until completion. Hats off!!!
Wow !!! This kind of in depth knowledge is just awesome.
Kudos to you bro ........long live the community !!!
Hey, kunal you are really amazing man. I understand everything here, in my college when I studied these stuff, I fill that this is not for me. But now I am confidently say that This is for me and I'm for this. Thank you very much. I am following you since last 6 months.
Hello Kunal bhaiya
Plz don't stop to upload the guidance video because the video help us more to be on a right path. Plz ignore those bad insect of society who just try to ruins someone and your dreams. Plz ignore them who make controversy about you without any proof. You are our inspiration and your journey motivated us plz don't stop guiding us because apke video se kisi ek ka bhi bhala ho raha hai thi app sahi ho or app ho hi best love you bhaiya plz be what you are don't let these bad elements of society change you and what you want to do for us and the community.
Guys if you also think like me then lets show the power of supports of kunal bhaiya.
Yes bhai....vo sab log to tier 1 College se h but i am from tier 4 college need these kind of guidance 🙏🙏🙏
You are very hard working to explain us these concepts. You are awesome teacher👍👍. Happy Teacher's Day.
Bro your assignment is far better than other DSA sheet.
Brother you saved my life...Thank you so much ❤️
you are gaining so much respect from doing this bro keep it up. I really enjoyed this session
Your are creating a new change . Thankyou so much .Please keep going, and let this down we have big hope from you please
Amazing! lecture , all doubts and concepts cleared in one go.
I already know java but still watching your vids bcz i learn something new in every vid. Thx
Thank you so much buddy. I saw your videos to recall the all concepts learned during my engg. Very well explained. 💯
amazing string video I discover a lot about String. I am now capable of handling any DSA question related to String.
Thanks !!
So much content in one short great.
Thanks for your efforts ...
I am really liking this change about myself, the urge to urge to write more JAVA codes after learning from your lectures.
exactly
Thank you so much for teaching the strings topic in such an engaging and informative way!
Your explanations were clear and concise, and I really appreciated the examples you provided. I feel much more confident in my understanding of this topic now. Keep up the great work!
Glad it was helpful!
U r literally awesome Broo... Thanks for teaching this much of things in one bootcamp🙏🙏🙏🙏🙏
Thanks a lot I really don't have words............it's best Data & Structure Bootcamp till now I seen ....it's legit
Thanks a lot again ..
Glad to hear that
love the way you teach concepts so easily. Bss DSA Padhne ka man karta rehta h 😂
Thank you so much Kunal Sir for your amazing teachings ! I like to binge watch your DSA videos now :))
Your way of explaining is really good. While delivering lecture by kunal I feel in class with full of attention and eagerly waiting to know more concept. At last Real Gems of our Country. Thank you @Kunal.
Please complete the series. You are the only one who I trust
Thank you so much, Kunal Sir. So grateful to you.
Happy to hear you back.
Once again, Thanks for this course Kunal.
This is really helping us a lot.
Thanks yaar Kunal. Life bna rhe ho. you have all the best wishes from us
You are really doing a great work. Thank you so much!
To all Kunal haters:::
Dont take him in a wrong way and misinterpret him.
He delivers faboulous content for free and you all are jealous of him..
Please mantaim dignity 😀 and stop being jealous..
Great content. Was waiting for this
After a long search, got an Amazing playlist for DSA preparation. Thankyou😄
Happy to help
Thanks for all these information i noted down all the key takeaways from this lecture it was fun knowing the internal working of the print function as well....
Thank you Bhai, I am a Mechanical eng student and that is the first bootcamp I am following for my placements bcz I don't have much time I am already in 6th sem, so I don't know why but I am blindly trusting on you, and the qua;ity here is really next level
Top class content....bhaiya don't stop the guidance videos..plz!
having learned java in depth i can assure that this explanation of java string is the best because without knowing internal working of object, reference, heap etc it is impossible to understand strings in java.
Amazing as always!🥳
Tomorrow, I have an exam still couldn't resist myself from watching this video!
So much information in one video.
Awesome lecture.
from Punjab
You are doing an amazing work kunal. thankyou for providing such valuable content.i'm really enjoying coding because of you.
Exemplary teaching. Damn! This is making me fall in love with Java.
Thank you so much, words won't be enough to express the gratitude....
itna deail koi n btata bhai jeetna ap bta rhe ho full support bhai love you!
Thank you for this amazing series.
I am feeling more confident now! Also, I am enjoying these videos you are doing great! Going deeper into everything, loved it!
Awesome. This made me understand strings in the simplest way. Nice lecture
A very good lecture and great explanation .....i have not seen this kind of deep lecture delivery anywhere
Incredible Video ! Learned so much
great video i used to struggle while doing string questions but this video has made it easy for me
"If you are watching after 1 month,then the OOP videos are already there...."
The level of confidence this guy has (Hats off)...
Awesome lecture, I didn't knew so much about the Strings in java.
Everytime Kunal asks for like, share and comment , I immediately pause the video to do so.
This is my respect for the course
Thank you so much Kunal Bhaiya !💙 I'm just started to learn java..& your explanation is outstanding.& I understand better because of your teaching method. Thank you ❤️
Best DSA Course for me
Hey Kunal i loved the video and a good thing abt ur video that it makes me want to watch it because i think that i learn a lot without getting bored. Please also make a separate video on string questions so that we can get a idea how to solve the questions.
Thanks for teaching us like no one did till now!! One small request, please make lectures on dynamic programming as well!!
Bhai strings ka hi wait tha .. thanks bruh🎉🎉
Thank u so much kunal for this bootcamp❤❤
Thankyou for the detailed explanation
The way you teach is just awesome it hits directly on my brain stimuli🤗😚😊🤓
Again great & fun lecture.
The best thing I learnt is diff b/w String & StringBuilder;
please bhaiya, don't remove your videos . There are some person who doesn't wann good of tier 2 or 3 student... your video was so helpful to choose what to study and from where to study and where will we just waste our time..... please don't remove such pure content....Your videos save lots of time of a tier 3 engineering student specially your live and guidance videos.. it's humble request because of some person ,u just don't change your way of guidance.. we need your guidance bhaiya.....You are one of those teacher who speaks truthfully, that too without being afraid of anyone..please don't give much importance of haters.. please 🙏🙏🙏🙏🙏🙏🙏
After a long waiting and Search I found the Right Playlist...And a Right Person for my DSA course ...Loads of love❤ Kunal brooh for your free worthy content ..which we can't get even it is highly Paid Course ..Thanks a lot and keep Rocking .
Hello Kunal Bhaiya,
After any concept you say "Simple Stuff" but it's YOU, who makes it simple!
You make the concepts simple and easy to understand, and all the "simple stuff" gets imprinted in the mind! Thank you so much for all these videos! I'm very grateful to have learned the concepts by watching your videos. Thanks a ton! ❤💯
After array was waiting for String video, man you have cleared many doubts In Array wala video, this string video is also great
Point to remember, 51:06 ->
sysout(“a”+1) //output: a1, here integer will be converted to wrapper class Integer that will call toString() method