String name = new String("Keep on Coding"); String best = new String("Keep on Coding); The above strings will have different memory address, meaning they will be stored in different memory location which is waste of memory. String name = "Keep on Coding"; String best = "Keep on Coding"; The above strings will use one memory address since they have the same value which is better than having different memory address for two the same strings.
Hey SAM, could you please suggest some open source project where I can contribute (preferably C# else Python NOT JAVASCRIPT ones), And what a realistic time frame to understand the framework and starting contributing towards fixing bugs/New Features. asking this as my current role I don't give me much exposure working of some good projects which are really helpful when going thru an interview, recently got rejected by FB (IC4) 1st round, Amazon (SDE-2) 4th round, Microsoft (SSE) 3rd Round.
I'm confused. Should I write my tuition check payable to you or to the college I'm attending? Because you're definitely making more sense than the power points and lectures I'm sitting through. Lol. Thank you for sharing your knowledge!
I wouldn’t call it obsolete. There’s a lot of new development still being done in Java. That being said, I believe it will be much less dominant in 10 years than it is today.
Obsolete? Please take a look at industry statistics. The word "obsolete" itself is subjective. The last line of code you pushed to master can be considered obsolete. Granted golang is faster than Java whuch is mostly due to the fact that it doesn't rely on a virtual machine, it doesn't come without cost. It is a smaller library which lacks many features. Such as lack of error handing which leaves greater room for errors in the code.
If you create String object using new keyword then it will store in heap area and string constant pool But if you create Like String s1 = "Java"; Then it will Only Store in scp...
☕Want to master Java? Get my complete Java course: bit.ly/42mQlXE
3 years later and this is still an awesome video
Keep making these videos they help a lot
man, your channel is the best i can learn and chill at the same time
These Java tutorials are exactly what I need. A quick capture of a topic that I can quickly recap in case I forget something. Keep them coming.
Great content, Sam!
Thanks Evan!
1:16 i think this is the first tutorial i watch that doesnt use "Hello World" as an example xD
relatable
Can you send the link of the oracle site with all the built in methods.
Bro thank you so much this was so clean and simple to understand. I really appreciate it 👊.
Please make a tutorial on swing in java!
Thank you Sam!! i enjoyed it, keep going!
Everytime I open one of your videos, the algoexpert advert comes up 😂.
String name = new String("Keep on Coding");
String best = new String("Keep on Coding);
The above strings will have different memory address, meaning they will be stored in different memory location which is waste of memory.
String name = "Keep on Coding";
String best = "Keep on Coding";
The above strings will use one memory address since they have the same value which is better than having different memory address for two the same strings.
Logan, your class of classes is cool!
Thank you a lot, I'm really grateful to you for your gorgeous lesson, it's very informative, useful and cool
Can you make a video on java classes and recursion
Yes.
@@KeepOnCoding thank you 😭🎉
Could you do a tutorial on loops?
Thanks for the video, greate tutition!
Thanks this helped me a lot
very helpful! can you explain the difference between string and String? they don't work together
Hey SAM, could you please suggest some open source project where I can contribute (preferably C# else Python NOT JAVASCRIPT ones),
And what a realistic time frame to understand the framework and starting contributing towards fixing bugs/New Features.
asking this as my current role I don't give me much exposure working of some good projects which are really helpful when going thru an interview,
recently got rejected by FB (IC4) 1st round, Amazon (SDE-2) 4th round, Microsoft (SSE) 3rd Round.
Could you start beginner Java tutorial for learners like me.
I'm confused. Should I write my tuition check payable to you or to the college I'm attending? Because you're definitely making more sense than the power points and lectures I'm sitting through. Lol.
Thank you for sharing your knowledge!
so should I use string literals or string object ...which is more effiecient??....is string literals better than string object?
Brooo weren’t you just at 7k subs and already at 50k congratssss!!!!
Thank you! 🙌🏼
thanks sir
do you think java is obsolete other than legacy code now that there are so many more languages that are fast and easy to use such as golang or rust?
I wouldn’t call it obsolete. There’s a lot of new development still being done in Java. That being said, I believe it will be much less dominant in 10 years than it is today.
Obsolete? Please take a look at industry statistics. The word "obsolete" itself is subjective. The last line of code you pushed to master can be considered obsolete.
Granted golang is faster than Java whuch is mostly due to the fact that it doesn't rely on a virtual machine, it doesn't come without cost. It is a smaller library which lacks many features. Such as lack of error handing which leaves greater room for errors in the code.
the only video in youtube with 0 dislike😘
Thanks nice video
May i ask what program or application you are using?? Where can i download that?
He’s using IntelliJ idea. Just search it on google, you’ll find it.
Intellij 👍
The best.
Objects ftw.
If you create String object using new keyword then it will store in heap area and string constant pool
But if you create Like String s1 = "Java";
Then it will Only Store in scp...
When you eventually move on to Kotlin, you should rename your channel to "Keep on Kotlin´."
Your ide for java?
He’s using IntelliJ
U r lookin like Jake Gyllenhaal😁