This is the best UA-cam Channel for teaching how to Code on UA-cam ! Keep going and you will surely reach the 1 Million soon ! Thank you for the great way in explaining !
This is the best Java tutorial for beginners, so you can learn Java and English in one hit. Please keep going! I vote for Java advance tutorial. Thanks a lot Bro
great stuff!! I've gone through a year and a half in college, we never had Java, but after I switched to another college (years later), they're having Java there and it's been a pain because of the virtual environment. maybe my plugin in the IDE can't handle saving the file multiple times to adjust something because it always tells me it couldn't delete one of the temp files, and in the terminal it works the way it did before the alterations I've done so it's like I'm running the older version of that file. then I restart the computer to make the temp files forcibly get removed whenever I can't build the project and it works, all of the alterations are applied.
When the class is an extension of the parent class, if an object is instantiated within the child class does that mean the variables/objects that were extended are separate from the variables/objects of the original parent class? (Sorry if that was worded poorly as I'm still new to this)
just put hero2, i use intellij and it says that it's a redundant string call and it's useless, toString means to convert the memory value/data into a readable string, which was already done in the other classes
Superman is your favorite hero right?? Yeah I find BAtman lame too ! Thats why you printed 'hero2' attributes when you also had 'hero1' ! 😉😄 NIce turorial bdw..... So far loving the simplicity of videos.
//********************************************
public class Main {
public static void main(String[] args) {
// super = keyword refers to the superclass (parent) of an object
// very similar to the "this" keyword
Hero hero1 = new Hero("Batman",42,"$$$");
Hero hero2 = new Hero("Superman",43,"everything");
System.out.println(hero2.toString());
}
}
//********************************************
public class Person {
String name;
int age;
Person(String name,int age){
this.name = name;
this.age = age;
}
public String toString() {
return this.name + "
" + this.age + "
";
}
}//********************************************
public class Hero extends Person{
String power;
Hero(String name,int age,String power){
super(name,age);
this.power = power;
}
public String toString() {
return super.toString()+this.power;
}
}//********************************************
Bro, you helped me so much that i canot say in words how thankful iam , God bless you.
@@G0DsLion hm...
this was Super() easy to understand
:) Yeah!
toEasy()
More power to you man.
I watched a lot of tutorials but yours really exceeded everyone.
The way you explain is so easy to understand!
probably one of the most comprehensive java tutorials, without cutting corners :D
Awesome Stuff
I just love how you repeat previous topics by explaining the code in a certain order. Thx bro, greetings from Turkey
I'm surprised that this channel only has 2.53k subs, it's "super" underrated
thanks Furious! Hopefully that will change someday
@@BroCodez lol yea
VD 😂
@@BroCodez 227k now bro.
I year later 291k we'll done bro
Your videos are getting me through university dude. Thank you so much for making these tutorials.
superb vid. very powerful presentation
This is the best UA-cam Channel for teaching how to Code on UA-cam !
Keep going and you will surely reach the 1 Million soon !
Thank you for the great way in explaining !
This is the best Java tutorial for beginners, so you can learn Java and English in one hit. Please keep going! I vote for Java advance tutorial. Thanks a lot Bro
Your video is short, but it's informative. That's all we need. Many thanks
this actually deserves more likes unfortunately people dont do this often :(
great stuff!! I've gone through a year and a half in college, we never had Java, but after I switched to another college (years later), they're having Java there and it's been a pain because of the virtual environment.
maybe my plugin in the IDE can't handle saving the file multiple times to adjust something because it always tells me it couldn't delete one of the temp files, and in the terminal it works the way it did before the alterations I've done so it's like I'm running the older version of that file.
then I restart the computer to make the temp files forcibly get removed whenever I can't build the project and it works, all of the alterations are applied.
Really helpful content👍🏻
really enjoying your tutorial
The best channel to learn and get started with a new programming language . Thanks bro
Great Lecture
One of the best youtube channel helps me a lot in learning coding.
Thank you, finally I understand what is super keyword for!
Awesome
elegant simple and awesome! thank you!
Best java course I've found, by far
Bro is much better than my professor.
thank you
after 4 hour long lesson in school, you made it clearer in 3 videos of -10 min
thank you
you are really a java server i have understood more than i ever imagined
Excellent Video!!!
Amazing😀😀😀
Super duper
You show very good examples and explain it very well!
woww
Thanks for the example, very clear.
brooooo, thank you so much for this tutorial. only after seeing this did I understand how to properly use the keywords - super and this.
these 10 min thought me more than the 2 hour lecture in university lol thx bro
Besttttt
Great! 👍
Well explained, Thanks a lot
it is very clear explanation
Best❤
amazing
We got lots of tech channel of Indian Teachers, but your teaching method is on point Thanks for creating all this stuff Bro
Cool lesson. Thanks.
Super
yeeeehhhh finnaly i understood what it meansssss. bro you are the bestttt
great
Thanks, Bro! ☕ You're awesome!
When the class is an extension of the parent class, if an object is instantiated within the child class does that mean the variables/objects that were extended are separate from the variables/objects of the original parent class? (Sorry if that was worded poorly as I'm still new to this)
Hey Bro, I just shared your channel on r/learnprogramming, hopefully it'll help you in your heroic defiance of the almighty algorithm :)
Taylo you are AWESOME. I appreciate the share. I hate to admit it, but I could use all the help I can get. thanks again.
@@BroCodez No problem man, you definitely deserve more exposure
HEYY BROS This guy is great Greetings from Bern
Finally i know what super is doing :D thanks
Yeah all it does is refer to an object's super class
The prayers did worked, the algorithm brought me here. :)
thanks for the video
NIce.
super
Good
Getting lessons from gigachad. Bruv this is bussin
Thank you for this
Best, as always :)
Amazing
YOU ARE A LEGEND!!
Dude i love you so much.
your geniuse
You're the best
Well done! :-)
Super basically equals Parent. Good to know!
KING
Thank you Bro you’re always be our super()hero💪😆
Hey bro a simple question, why extend a class to use its functionality when we can simply make its object and do the same?
Thank you so much sir.
Frankys reaction after this video: "suuuuupeeer()";
Is the toString method in Hero considered an Overriding method? Since it's using the original method from its super class so I'm not sure.
I have a question related to overriding of the toString method in Hero class, is it necessary?
Thanks Bro
thx) it was super!
Thanks bro
I never knew "super" keyword even existed
It's a thing
thankyou sir
thanks bro
I m the 1000th like of this video xD
Thank you Bro!!!!!!!!!!!!!!!!!!!
explained it better than my prof
Thanks!!!
Hey Bro, what is more acceptable to use: System.out.println(hero2) or System.out.println(hero2.toString())? Since both prints the same output.
just put hero2, i use intellij and it says that it's a redundant string call and it's useless, toString means to convert the memory value/data into a readable string, which was already done in the other classes
Thanks Bro!
Thank you very much
Superman is your favorite hero right?? Yeah I find BAtman lame too ! Thats why you printed 'hero2' attributes when you also had 'hero1' ! 😉😄 NIce turorial bdw..... So far loving the simplicity of videos.
❤❤❤
Thanks a lot
super cool videos bro. thanks . when will the playlist be updated bro? . It is difficult to search the videos bro
I'm currently updating the videos now, I have the new videos unlisted and will release them in a batch weekly
@@BroCodez thanks bro. hope this channel reaches good number of subscribers soon
😍
❤
Thanks
Pretty epic
super!
👍
thanks
gg bro, after i watched this video, i can write some code without your tutorial...
naisuu
thaaaaaaaaaaaank you 💕💕💕.
1:48 I saw that coming