After all these years of using this modifier, I finally know what it's for. This was the first video I watched, and after this, I knew you were worth clicking that subscribe button. You need more subscribers, bro. Hope you cover more topics in the future.
You are the first teacher who make me to enjoy in Java. Thank you so much Bro. I saved the entire course and this is the first comment of me after viewing 33 video of this course.
Dude, what an explanation! I am very very happy because I got everything why I clicked this video, I was trying to get some proper understanding about the Static keyword in Java and you helped me. Thank You!!!! ❤️❤️❤️❤️❤️❤️❤️❤️😊😊😊😊😊
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
Me watching about an hour of yt videos about static: I don't get it It only took reading your definition to understand. Thank you so much, your content is so underrated. Liked and subscribed.
Hey I noticed one of your decisions during this video and I thought it was horrible, it made me shudder even. When picking the 3rd friend, you picked Squidward....but over Sandy?? Anyways great video. Thumbs up. EDIT: I kept watching and I see you picked her as the fourth friend. My point still stands. Anyways, thanks again, great video, the explanations were quite practical so it's easy to understand!
Bro, you resolved confusion I had that I didn't even know I had. I always wondered why people could call methods from the class name and it was such a huge point of confusion. Now I know that when a Class name is used along with a method it was due to the static keyword being used.
What's up Bro! Liking your style a lot!. It Took me a while to grasp difference between static and non-static members.. or class- and instance variables. But with your excellent explaining it finally makes sence. It can get so confusing if you mix field and method variables in the mix,
Thank you for all Java content When i try the reach Math class i receive this error: Source not found The source attachment does not contain the source for the file Math.class You can change the source attachment by clicking Change Attached Source below:
but how does it know the number of friends is that a method in there or what from what understand, it looks like its just a regular int with a name number of friends so ya why does that work how does it know the num of friends???
//************************************************
public class Main {
public static void main(String[] args) {
// static = modifier. A single copy of a variable/method is created and shared.
// The class "owns" the static member
Friend friend1 = new Friend("Sponegbob");
Friend friend2 = new Friend("Patrick");
Friend friend3 = new Friend("Patrick");
System.out.println(Friend.numberOfFriends);
}
}
//************************************************
public class Friend {
String name;
static int numberOfFriends;
Friend(String name){
this.name=name;
numberOfFriends++;
}
}//************************************************
you spelled SpongeBob wrong
@@HAPPYGUYFACE HAHA LOL
After all these years of using this modifier, I finally know what it's for. This was the first video I watched, and after this, I knew you were worth clicking that subscribe button. You need more subscribers, bro. Hope you cover more topics in the future.
A kind of educator you do not want to miss. Thanks Bro.
You are the first teacher who make me to enjoy in Java. Thank you so much Bro. I saved the entire course and this is the first comment of me after viewing 33 video of this course.
Even with my bad english I can understand you better, than my Java teacher in Austria.
Relatable
Hey, i also study computer science in Austria. Where do you study
Dude, what an explanation! I am very very happy because I got everything why I clicked this video, I was trying to get some proper understanding about the Static keyword in Java and you helped me. Thank You!!!! ❤️❤️❤️❤️❤️❤️❤️❤️😊😊😊😊😊
His Playlist deserves more views than this tbh. Thanks A lot man
Ditto
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
probably one of the most comprehensive java tutorials, without cutting corners :D
Another day, another great Java tutorial from Bro Code!
The best -- no BS -- explanation of the static keyword.
I spent my entire Sunday trying to figure this out. Thank you.
Honestly man, you are one of the best person to learn coding from. 😊
I was going through my Java notes about to have a long night. Thanks for making this short and simple and helping me get some rest, bro. Needed it
Very well explained! Never understood this concept until now. Thank you!
+1 to more views! The way you explain is so clean, thanks a ton!
Straight up love you man
Why is no one else watching your vids
MY support will keep this channel running :)
You really enjoy learning programming with this Bro!
Thx bro didnt understood thru any websites your explanation is simple and clear
Me watching about an hour of yt videos about static: I don't get it
It only took reading your definition to understand.
Thank you so much, your content is so underrated. Liked and subscribed.
The static keyword took me a long time to understand, your video really helps.
bro ur channel is literally a gold mine
I am watching your videos to learn java and it helps a lot. Thank you man!
perfect explanation... many other didnt really clarified
Bro, you made this so much simpler than two weeks of my professor’s lessons.
after 4 years of java i now finally know how static works
Thank you Bro, by the way which video explains the static classes ?
Hey I noticed one of your decisions during this video and I thought it was horrible, it made me shudder even.
When picking the 3rd friend, you picked Squidward....but over Sandy??
Anyways great video. Thumbs up.
EDIT: I kept watching and I see you picked her as the fourth friend.
My point still stands.
Anyways, thanks again, great video, the explanations were quite practical so it's easy to understand!
Bro, you resolved confusion I had that I didn't even know I had. I always wondered why people could call methods from the class name and it was such a huge point of confusion. Now I know that when a Class name is used along with a method it was due to the static keyword being used.
This video made me fall in love with your channel
Dude I could kiss you right now. You probably saved me from failing my OOP class. This video legit changed my life
yay!
very good and clear explanation, thank you very much
so its like an arraylist of methods or variables? is static void better than hashmap when it comes to memory?
i like your explanations ;)
Great courses so far !!! Thanks so much
explained simplly and clearly!
BRO ............ goddamn you're wonderful, keep it up much much love 💪💪
Good job explaining that Bro!
thank you so much Bro. I saved the entire course
i wanted to like this vid more than one time 💖✨ keep it up buddy'
great video!!! I'm infinitely grateful for your dedication and big heart to share this knowledge with the world. Thank you soo much
Thank you bro. You're really clearing my doubts
i couldn't help not commenting lol. thanks for this amazing video bro
Thank you for wonderful video
Great explanation, thank you. Subbed!
Thanks for the wonderful explanation!
thx man, your videos are helping me a lot
Great explanation but i am still confused. I think i am stupid.
Thanks for the video
Appriciate the knowledge bro
man what can i say, finally understand this shit thank you my bro, god bless you😭
Very clearly explained
In Friend class in the line 6 of code.......is that Friend with perimeter (String name) is method or something else ???? I can't recognize it
2022- you are the best teacher
Thanks, for making this video. It was very helpful!
Thanks for the tutorial!
Excellent vids. So useful.
What's up Bro! Liking your style a lot!. It Took me a while to grasp difference between static and non-static members.. or class- and instance variables. But with your excellent explaining it finally makes sence. It can get so confusing if you mix field and method variables in the mix,
A kind of educator you do not want to miss. Thanks Bro.
You are an OG for this
Thank you for all Java content
When i try the reach Math class i receive this error:
Source not found
The source attachment does not contain the source for the file Math.class
You can change the source attachment by clicking Change Attached Source below:
Very clear and helpful
What apps or sites can be practiced
very good video thanks
finally, a simple explanation of static
Thank you for your fabulous content, bro!
Bro is ultimate bro!
Truly the best! Cheers
Great explanation, thx!
Thank you Bro for your effort 👍👍🙏🙏🙏
Good tutorial.
Simple and easily understandable , thanks bro ✌
This was such a great help, thank you so much!
Bro has the power to explain
great explanantion
Great videos bro!!
dude youre great even better than my professor :D
Thanks
Great explanation
You're the best......man!!!
I love learning w this bro
thanks for sharing
tanks man, you're helping me so much with yours videos.
Thank you bro, here's a comment for the algorithm
We need more "Java" videos
Hey TH-cam algorithm!! HERE is where you should pay your attention!!
I want to become a fellow bro
Good Job Bro 💞
What if the classes are in different packages?
He is just too good at teaching that he forgets how to spell the word "Spongebob" LOL
nice video
Bro you are the best ))
very useful video
Thanks, Bro! ☕ You're awesome!
can someone please explain what the purpose or what it means to write "this.name" thanks!
but how does it know the number of friends is that a method in there or what
from what understand, it looks like its just a regular int with a name number of friends
so ya why does that work how does it know the num of friends???
oh wait nevermind, there is just a numofFriends++ at the end of the constructor
so good
Ur the best bro
finally understand what is static means
33th. Thank you, ma Bro Sensei
you are th best
\