hands down you're the best java teacher on youtube.RESPECT
@dineshsm38232 жыл бұрын
Such a great lecture. One small mislead observed in the last min of the video is that you referred string buffer and string builder to immutable string. Actually its for mutable string.
@King-bj8km Жыл бұрын
this comment need to be pinned :)
@abhijithtm1318 Жыл бұрын
pin this sir
@jogiparthisaiganesh18065 ай бұрын
Bro,he said correct only ,listen once again
@mounishmaram60055 ай бұрын
Yes, it's mistake
@narrativegatherer31285 ай бұрын
6:15 listen hard niqqa@@jogiparthisaiganesh1806
@krishnapatel-ys7nk Жыл бұрын
The way he is explaining everything in detail is ❤️...my mind is blessed with such an amazing amount of knowledge...thank you sir
@muralikrishna2607 Жыл бұрын
Great video sir...At the end by mistake you said that the string buffer and string builder classes can be used for creating Immutable string.
@ragibgulzar16 күн бұрын
This has to be the best explanation for this topic, Appreciate your teaching style 👏
@raman_reddy Жыл бұрын
5:14 All the objects in string pool area are implicit objects, which are maintained by JVM. So those are not eligible for garbage collection
@nihadkv2976Ай бұрын
Thats not correct. If there is no reference exists, it is eligible for garbage collection in string pool too.
@heycreatives2 жыл бұрын
Good series for making total java tutorial. it's very easy revise total java concepts.. Awesome Explanation Navin sir...
@AnuragRawat01 Жыл бұрын
Fantastic sirji ❤️
@vigneshk5193 Жыл бұрын
Good teaching Sir. I'm very thankful for java course. It is very useful to me. And i get more interested to listen your class. And please continue teaching like this. 😊 My humble request to you that to teach Data science, Artificial intelligence courses
@HypRGK Жыл бұрын
wow this was so easy to understand , thank you sir for such an easy explanation
@kamranalam2002 Жыл бұрын
Hello. You literally cleared my confusion regarding the concepts of immutable and mutable strings. But after seeing the full video my only question is what will be case for "hello" that you printed with the name variable? Will the heap memory also create a new object for "hello"?
@Regr310 Жыл бұрын
great question, where is the replies 😅
@CoderboyAkshay Жыл бұрын
@@Regr310 i think he didn't check comment section😄 just uplode videos
@anonymous-li9ts Жыл бұрын
Yes, It should
@shindeprem2286 ай бұрын
If u are talking abt this statement, System.out.println("hello"+name); Then the answer is - "No" , because we are just printing that "hello" it will not take any memory
@poojaladda63675 ай бұрын
Beautiful explanation👏
@nishchaygupta9988 Жыл бұрын
3:34 - Can we say that String Constant Pool is nothing but an implementation of Set which is of String type in the Heap memory ?
@NM_Krishna Жыл бұрын
waaaoooooooo sir you are the best ever
@harishraj-zm5hh Жыл бұрын
String s1="Navin"; String s2="Navin"; s.o.p(s1==s2); this above example gives true as its output as u explained. but y we r getting false output with case of using new keyword for creating a string String s1=new String("Navin"); String s2=new String("Navin"); s.o.p(s1==s2); now the out put is false. pls sir explain this
@ritikyadav937811 ай бұрын
Using the new keyword, you can create multiple objects from the same character sequence. This is useful when you want to save time by creating multiple objects from the same data source. However, when using a string literal, you can only create one object. String literals are read-only memory locations, so they cannot be changed and can only be used to create a single object. This makes string literals less flexible than the new keyword.
@badruddindulvi48196 ай бұрын
By using new keyword the string object would be created in different memory locations inside the heap eventhough if the content of the object are same. Hope you got it.
@RockyManna-ef4xl3 ай бұрын
you are god of java
@duastech1532 Жыл бұрын
Underrated channel 😢
@gowrigandikota8521 Жыл бұрын
Can mutable string be created with "new String()" ?
@puruagni19278 ай бұрын
Why are you not updating VS Code? Please update VS Code.
@gowthamchandran62132 ай бұрын
why strings are immutable?
@yogithacirigiri48829 ай бұрын
how are you able to compile and run without typing