Differences between String and StringBuffer
HTML-код
- Опубликовано: 11 сен 2024
- DURGASOFT is INDIA's No.1 Software Training Center offers
online training on various technologies like JAVA, .NET ,
ANDROID,HADOOP,TESTING TOOLS , ADF, INFORMATICA, SAP...
courses from Hyderabad & Bangalore -India with Real Time Experts.
Mail us your requirements to durgasoftonlinetraining@gmail.com
so that our Supporting Team will arrange Demo Sessions.
Ph:Call +91-8885252627,+91-7207212428,+91-7207212427,+91-8096969696.
durgasoft.com
durgasoftonline...
/ durgasoftware
durgajobs.com
/ durgajobsinfo.... .
I am a North Indian. Your accent was a bit unusual to me. But now I actually love listening to you. You are magical.
Aishwarya Bhargava same to me....
Same 😂😂😂😂❄️🤘🔥
Fuck accent see the knowledge man. Accent means nothing.
@@adityasethi9794 Read my full comment :)
Hey u uncle Sam ...must take Oxford sponsored java courses 😀
All my career growth is bcz of ur Java videos . So much respect to u . 🙌
can u tell how his videos helped you please
No words to describe your experience and just want to say you are providing the best quality information to youth of IT field ❤
This Guy will be the best teacher if he does some vocal and pronunciations exercises for few months. Because he exactly knows what we need to know and how we need to know
sir salute to u for creating such a beautiful collection of playlist . ;) . Proud of u DURGA SIR ;)
you are simplifying students life in the learning process of java....so gr8 sir..
2021 and still the best!
You are superb sir ..I don't bother about your language but your teaching is superb you clear all the doubts while teaching and explain topic very well ..keep on deliver your great java knowledge to needy students .
Sir,why don't you(Durga Sir) teach advance Java.If possible start and record and upload.
I have gone through so many books,training centres,online lectures,but none can deliver the content like your.Plainly saying your delivering style is superb.
I have recommended so many people for your lecture on youtube.But it will be heaven like feeling if you yourself will also start teaching Advance java like JDBC,Servlet,JSP,Struts,Hibernate,Spring.
agree with u
Me also
What a explain.... So awesome.... Ur teaching method.. It's more interesting to java...
So good and simple explanation.I like the way you teach.I like your videos and your accent.
Your lessons are awesome, excellent energy
Very well explained...with good examples and diagrams....we no need to go to any class..thanks for sharing these videos
Wow his communication skill is superb man.
His teaching is so cool neither of his regional slang :THUMBS UP:
All your video start with "Very impoRtaNt kochen".
+satya vundavalli
Demo Sessions on youtube,
Language Fundamentals(16 Videos)ruclips.net/video/eTXd89t8ngI/видео.html,
Operators & Assignments(7 Videos)ruclips.net/video/1JGOPhIyhAM/видео.html,
Flow Control(6 Videos)ruclips.net/video/X6rS9vD9-qM/видео.html.
u can mute this part if u want, buddy. chill
Thank you for sharing these videos sir....this videos were really useful for me while attending interviews .....well apart from this video questions I got one more question which made me to share here...
Q: What is the size of string literal. How many characters can a string literal can take.
Can you share your answer sir.
Thank you..
Sir..U r Awesome !!...AWsm explanation ... Once again Salute U
Dear sir ,
this Video is more helpful to understand String and StringBuffer concept.
Thanx...
Good Expatiation Good Subject, still you can use some good English pronunciation. But your concept and way of Explanation is Awesome!!! Great Work.
+Navatha Kannadi www.brushupmyskill.com/2016/02/creating-immutable-class-in-java.html
during the beginning of the video I considered closing it since the accent was hard to understand but he expained it so clearly, now I have no complaints! he can speak in anyway he wants as long as his videos are this helpful
Ur really "wow" !!
Thank you so much for your great teaching in a easier manner
Really sir you are teaching conceptually. I like this
Long live durga sir
👍👍☺️
People don’t understand the difference between English language and Accent. He knows English language probably better than us. Accent is very different than the language itself. Accent comes when person’s first language is different than the language they are speaking.
awesome teaching and thankyou so much for these helpful videos.
thankyour so much sir, your way of conveying concept is very clear.thankyou again!!!!
Excellent teaching skills
Simple and very clear explanation.
East or west Durga is the best
One more thing,please give a reference in each video so that any one can take advantage in sorted order.otherwise newbie will be confused which topic should or your which lecture should attend first.
Great explaination and clear examples ! thank you.
Liked and subscribed! !
I am proud to say, I am the student of durga...
+narayanareddy madana
Demo Sessions on youtube,
Language Fundamentals(16 Videos)ruclips.net/video/eTXd89t8ngI/видео.html,
Operators & Assignments(7 Videos)ruclips.net/video/1JGOPhIyhAM/видео.html,
Flow Control(6 Videos)ruclips.net/video/X6rS9vD9-qM/видео.html.
Excellent teaching sir
Awsome teaching by Durga Sir
+Santosh kumar Ratnalu
Demo Sessions on youtube,
Language Fundamentals(16 Videos)ruclips.net/video/eTXd89t8ngI/видео.html,
Operators & Assignments(7 Videos)ruclips.net/video/1JGOPhIyhAM/видео.html,
Flow Control(6 Videos)ruclips.net/video/X6rS9vD9-qM/видео.html.
superb explanation
very good information and explanation. can you give real time example when to use and make video how to crack java interviews thanks
This was really great explanation, thank you for this
i've a doubt... cant we use concat function in string buffer??and append in string object??
Awesome explanation. thanks a lot sir.
Simply superb
Thanks for uploading it
awesome awesome videos.wit.....clear explaination.....
+Smt Tamil
Demo Sessions on youtube,
Language Fundamentals(16 Videos)ruclips.net/video/eTXd89t8ngI/видео.html,
Operators & Assignments(7 Videos)ruclips.net/video/1JGOPhIyhAM/видео.html,
Flow Control(6 Videos)ruclips.net/video/X6rS9vD9-qM/видео.html.
Nice video sir
good explanation
you are really awesome sir...
very good explanations
hello sir can u explain ?you are saying that string object are immutable ....suppose for example String s="hello";s=s.concat("mr");syso(s);
output=hellomr so in this case we are changing in existing object
Thank you very much sir
You are awesome sir
you are awesome
Sir please add another videos related to Java... thank you..
sir i am android developer , i have 3 year experience. but now i want to make my carrier in advance java.so which topic i should cover for job purpose
Make video on differences between Throw & Throws
Anybody knows he is not uploading since 7 years any video
I have a question in mind. In Java why Strings are made immutable ?
+Amit Sinha
Demo Sessions on youtube,
Language Fundamentals(16 Videos)ruclips.net/video/eTXd89t8ngI/видео.html,
Operators & Assignments(7 Videos)ruclips.net/video/1JGOPhIyhAM/видео.html,
Flow Control(6 Videos)ruclips.net/video/X6rS9vD9-qM/видео.html.
+Amit Sinha it has many reason when some of them are--
1.for security reason if we send userid and password or some useful information in the network it may be hacked by third party people and changed the references and get the useful information.
2. If string is not immutable, changing the string with one reference will lead to the wrong value for the other references
+Amit Sinha www.brushupmyskill.com/2016/02/creating-immutable-class-in-java.html
Hi dugra can u explain why string objects are immutable??
Thank you
Hi,
explain the real time scenario where we can use String , String Buffer and String Builder
Hi sir,
Kindly share Lambda Expressions and method reference vidoes .
you are really awesome...
+saquibsajid
Demo Sessions on youtube,
Language Fundamentals(16 Videos)ruclips.net/video/eTXd89t8ngI/видео.html,
Operators & Assignments(7 Videos)ruclips.net/video/1JGOPhIyhAM/видео.html,
Flow Control(6 Videos)ruclips.net/video/X6rS9vD9-qM/видео.html.
Excellent Durga Sir :)
How will we get that new object which is created in String object.
Awesome
In String case
Sir what happen to that object("durga") after concatatination
After concat it won't reflect to object s where we can store this concat process to another object as
String s=new String("durga");
String x=s.concat("software");
Still s is durga
Now x is durgasoftware
GOD OF CORE JAVA
Thank you sir
In the example shown in your video, the stringBuffer object is showing error.
could you please Share the collection videos link Of Core Java (J2SE) .
18 Videos are Available on RUclips Bro
is there any way to get the complete videos of all in a CD
can you please provide me the sequence in which we need to watch these videos
String objects are immutable - understood. Why StringBuffer objects are not immutable or in another way why only StringBuffer is Mutable. !
Thanks in advance.
thannk you sir
Sir where I can find notes for exceptions
Hii! Find full explanations to core java here....
Sir I'm going for interview on this Monday. Pls tell me which programs will they ask in interview? Do they ask pattern related programs or Strings and array
String related vicharnaar Rasika
Are you talking in english or in indian?
thank you verymuch sir...
+Tharindu wickramaarachchi
Demo Sessions on youtube,
Language Fundamentals(16 Videos)ruclips.net/video/eTXd89t8ngI/видео.html,
Operators & Assignments(7 Videos)ruclips.net/video/1JGOPhIyhAM/видео.html,
Flow Control(6 Videos)ruclips.net/video/X6rS9vD9-qM/видео.html.
amazing
You are very nice but can you send me its reference equals code with the help of ==operator
{send only reference code}
if something is concatenated to 1st string , then a new string object internally created while the 1st one as it was .
Then if the reference variable assigned to the newly created string then output will be concatenated one ..seems like 1st one it self has been muted .
No 1st is there & no reference z pointing & 2nd one differently created object .
String s= "hi";
s=s+"Sam"; // 2nd object but reference variable same 's'
Out put :---> s= hi Sam
Now no reference variable is there to point "hi"
Nb :Consult JAVATPOINT site
keep the playback speed at 1.5 to save your time
In the note that you showed, just make one grammatical correction - Instead of "Once we creates" just write "Once we create" -- i.e Not creates just singular create(without s)
he could teach in his local language if he wanted, thank him for speaking english. U can understand every sentence without any hassle if ur catching power is good. chill
Awesome teaching sir I have doubt that if we create an object for a user defined class for ex: class Ravi if we creat an object for it Ravi r=new Ravi(); the System.out.println(r); it will give address of that object, but if we create an object for the String class for ex: String s=new String("durga"); the if type System.out.println(s); it displays durga why? not address of String class
Ravi , System.out.println(r) calls the toString() method of your userdefined class.
Since you have not overridden this method it by defaults uses that of the object class.
The String's toString() method is overidden by default to display the value of the current string.
You are passing the parameter "durga" in the String Constructor therefore s.o.p will call object toString() method which will have value of "durga" to be displayed.,
Does "enter-yerum" mean entry-level or interview ? Which one?
Interview Room
+ganesh umari
Demo Sessions on youtube,
Language Fundamentals(16 Videos)ruclips.net/video/eTXd89t8ngI/видео.html,
Operators & Assignments(7 Videos)ruclips.net/video/1JGOPhIyhAM/видео.html,
Flow Control(6 Videos)ruclips.net/video/X6rS9vD9-qM/видео.html.
My doubt.
What is the difference between concate and append?
When use Concat or append on two strings they both may give you same result when you output them but the main difference is on using concatenation new string object is created where as its not the same in case of StrinBuffer APPEND()
please change pronunciation of "question" really good stuff you have. learned interview questions from your video
but when you talk "question" unusual for me. Thanks
Super but lagging
Prepare core java interview questions in very less time here....
take it
String s = " I am";
s = s + " Prashant";
If String is immutable then ,
how output will = I am Prashant
Please explain me
the string you have is a variable "s", not an object. You can make any changes to string variable but not to a string object
S------> I am step 1
I am Prashant step 2
S------> I am Prashant step3
(Nothing)----> I am
So here only reference 's' initially points to "I am" object , then a new object created "I am Prashant " while the 1 at object "I am" z still there . Now the reference refers to 2 Nd object ..& no reference refers to "I am" .
See at the end 2 objects created with 1st one unchangeable
Your English is very funny hahaha.
Hi sir, can you please provide me the link of complete core java tutorial?
+Prabodh Ghosh
Demo Sessions on youtube,
Language Fundamentals(16 Videos)ruclips.net/video/eTXd89t8ngI/видео.html,
Operators & Assignments(7 Videos)ruclips.net/video/1JGOPhIyhAM/видео.html,
Flow Control(6 Videos)ruclips.net/video/X6rS9vD9-qM/видео.html.
DURGA EDUCATION Thank you. I hope other Java topics are coming soon. Please confirm.
Sir cheppina string example wrong
even being an Indian, its so hard to pick up the accent. lol
lookk who is talking????:-")lolll
this is hard only because u r an indian. There r different types of people in india with different accents buddy. Chill out. Other area people may not understand your accent too.
dont watch it then sardarji.
Omg, look who's talking. Sardarji, this is java class not English vocabulary tutorials.
Accent Doesn't Matter Bro.U are here to learn accent or Java..
Why don't you use English???? It would much better for the common viewer who don't know the local language you speaking..
He doesn’t have poor English. He knows English language probably better than you. Accent is very different than language. What you are talking about is accent. And accent comes when person’a first language is different.
lol accent..but great explaination
*WRONG STRING IS MUTABLE NOW IN 2019 SEE THE CODE*
*String s = new String("GO");*
*s = s + "KU";*
*System.out.println(s);*
*THIS PROGRAM HAS CHANGE THE STRING OBJECT WITHOUT MAKING ANY OTHER OBJECT, SO WE CAN CHANGE THE EXISTING OBJECT, GO WITH GOKU*
Langyage prblm😅😅😅
Seriously what language is he even speaking?
It's English bro, I know it's difficult to understand his accent but I learned a lot from this guy.
He doesn’t have poor English. He knows English language probably better than you. Accent is very different than language. What you are talking about is accent. And accent comes when person’a first language is different.
@@pruthvipatel2875 han maloom chal apne baap ku mut sekha.
Great explanation . Thanks Sir!!
good explanation
is there any way to get the complete videos of all in a CD
Thank u sir