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
This is the best TH-cam Channel for teaching how to Code on TH-cam ! Keep going and you will surely reach the 1 Million soon ! Thank you for the great way in explaining !
Awesome video. I'm new to programming and learning JAVA atm. Would surely enroll in one of your courses if you had them because all the subjects i struggle with in my textbook are always clear to me after one of your video's!
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.
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
Is it because we cannot make objects on superclasses in java, so the hero-class has to extend the "toString" methode of the person-class? would that be called overriding?
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.
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)
Hello Bro Code , in your video I see a lot of samples in "package explorer". From were do you get these samples? I would like to get these samples too. any help would be very nice.
//********************************************
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.
@@Kingdd1os 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!
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
probably one of the most comprehensive java tutorials, without cutting corners :D
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
you are single handedly getting my through my java course ty
thank you
after 4 hour long lesson in school, you made it clearer in 3 videos of -10 min
thank you
Awesome Stuff
One of the best youtube channel helps me a lot in learning coding.
This is the best TH-cam Channel for teaching how to Code on TH-cam !
Keep going and you will surely reach the 1 Million soon !
Thank you for the great way in explaining !
Amazing😀😀😀
it is very clear explanation
Best java course I've found, by far
Your video is short, but it's informative. That's all we need. Many thanks
The best channel to learn and get started with a new programming language . Thanks bro
Awesome video. I'm new to programming and learning JAVA atm. Would surely enroll in one of your courses if you had them because all the subjects i struggle with in my textbook are always clear to me after one of your video's!
We got lots of tech channel of Indian Teachers, but your teaching method is on point Thanks for creating all this stuff Bro
this actually deserves more likes unfortunately people dont do this often :(
Because of you good sir! I was having fun with my programming exam
superb vid. very powerful presentation
You show very good examples and explain it very well!
Excellent Video!!!
Great Lecture
Super duper
Best❤
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
Really helpful content👍🏻
Good
you are really a java server i have understood more than i ever imagined
Finally i know what super is doing :D thanks
Yeah all it does is refer to an object's super class
amazing
thanks for the video
Awesome
Thank you, finally I understand what is super keyword for!
great
Super
these 10 min thought me more than the 2 hour lecture in university lol thx bro
really enjoying your tutorial
great video!!! I'm infinitely grateful for your dedication and big heart to share this knowledge with the world. Thank you soo much
your geniuse
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.
woww
Great! 👍
Besttttt
NIce.
Thank you for this
Cool lesson. Thanks.
Well explained, Thanks a lot
Becoming a hero
super
Your videos are getting me through university dude. Thank you so much for making these tutorials.
brooooo, thank you so much for this tutorial. only after seeing this did I understand how to properly use the keywords - super and this.
You're the best
Amazing
Best, as always :)
thankyou sir
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
What would happen if I would only run: sout(hero2); AT 07:00 ? Why would it not just print out the 3 Values too? Why is the super-statement needed?
Is it because we cannot make objects on superclasses in java, so the hero-class has to extend the "toString" methode of the person-class? would that be called overriding?
HEYY BROS This guy is great Greetings from Bern
Thank you very much
elegant simple and awesome! thank you!
Thanks for the example, very clear.
Thank you Bro you’re always be our super()hero💪😆
yeeeehhhh finnaly i understood what it meansssss. bro you are the bestttt
KING
Thanks bro
Thanks Bro
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.
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)
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
Thank you bro
I m the 1000th like of this video xD
Thanks
Super basically equals Parent. Good to know!
❤❤❤
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.
Hello Bro Code , in your video I see a lot of samples in "package explorer".
From were do you get these samples?
I would like to get these samples too.
any help would be very nice.
Thank you Bro!!!!!!!!!!!!!!!!!!!
I never knew "super" keyword even existed
It's a thing
YOU ARE A LEGEND!!
Thank you so much sir.
Dude i love you so much.
The prayers did worked, the algorithm brought me here. :)
THANK YOU
thanks
4:28
Hey bro a simple question, why extend a class to use its functionality when we can simply make its object and do the same?
Getting lessons from gigachad. Bruv this is bussin
explained it better than my prof
Thanks a lot
Thanks, Bro! ☕ You're awesome!
I have a question related to overriding of the toString method in Hero class, is it necessary?
naisuu
👍
U should try unity game engine
I would like to, but I have my hands full right now lol
Well done! :-)
If we use this:
Hero hero1 = new Hero(Person,44,"44");
'Person' I'm referring to the parent class.
What would be the constructor for Hero?
1:48 I saw that coming