//********************************************************************************** public class Main { public static void main(String[] args) {
Pizza pizza = new Pizza("thicc crust","tomato","mozzerella","pepperoni");
System.out.println("Here are the ingredients of your pizza: "); System.out.println(pizza.bread); System.out.println(pizza.sauce); System.out.println(pizza.cheese); System.out.println(pizza.topping);
} } //********************************************************************************** public class Pizza { String bread; String sauce; String cheese; String topping;
I like the fact that you are so authentic by saying I probably spelled that wrong, reminding myself. Thank you for your videos, you provide education for free and I hope ppl like yourself will be paid more than those pretenders on RUclips that "help" people by giving money to homeless (just an example among so many) that pretend to be so kind and videotape themselves doing an act of kindness (kinda ironic). I wonder could we also donate to your channel somehow or not? Personally I do not own much but comparing your channel to most Udemy classes you deserve that 10 euros way more than those aforementioned and I would be more glad to support you even with that amount. Thanks bro.
Vegan pizza?!? That was hilarious bro! 😅😂 Thank you so much for these videos. Yours is the most full and systematic playlist to learn java with fun and a Bro language on RUclips! ❤
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
How can you be so great tutor? I wish i found you as soon as you uploaded video last year. I mean it, you are a great teacher. I was totally not interested in Java almost quting thus job. But now i'm interested. And one day, i want to take you C , python too.
i wana ask... i see you are PRO:) eclipse or IntelliJ, diferences? is it colors you like themes? or why you like it?:) im noob in java, but already paid for my lessons.. You are my alternative teacher :D
I don't have a lot of experience with IntelliJ, so I can't speak on it's behalf. But there is a growing trend of people switching to IntelliJ, so that might not be a bad IDE to begin with.
this.bread = bread; this.sauce = sauce; this.topping = topping; this.cheese = cheese; } and then we created an object like this: Pizza pizza = new Pizza("s1" , "s2" , "s3" , "s4"); Which one would be the topping and which one would be cheese?
Java will encounter an error due to a duplicate constructor. Java looks at the order and number of the data types within the parameters. For all intents and purposes, your IDE will think they are the same constructor 👍
//**********************************************************************************
public class Main {
public static void main(String[] args) {
Pizza pizza = new Pizza("thicc crust","tomato","mozzerella","pepperoni");
System.out.println("Here are the ingredients of your pizza: ");
System.out.println(pizza.bread);
System.out.println(pizza.sauce);
System.out.println(pizza.cheese);
System.out.println(pizza.topping);
}
}
//**********************************************************************************
public class Pizza {
String bread;
String sauce;
String cheese;
String topping;
Pizza(){
}
Pizza(String bread){
this.bread = bread;
}
Pizza(String bread,String sauce){
this.bread = bread;
this.sauce = sauce;
}
Pizza(String bread,String sauce,String cheese){
this.bread = bread;
this.sauce = sauce;
this.cheese = cheese;
}
Pizza(String bread,String sauce,String cheese,String topping){
this.bread = bread;
this.sauce = sauce;
this.cheese = cheese;
this.topping = topping;
}
}//**********************************************************************************
Sit Back, Relax & Enjoy the show is my Favourite Part.
Thank you for this, simple and effective explanation!
I like the fact that you are so authentic by saying I probably spelled that wrong, reminding myself. Thank you for your videos, you provide education for free and I hope ppl like yourself will be paid more than those pretenders on RUclips that "help" people by giving money to homeless (just an example among so many) that pretend to be so kind and videotape themselves doing an act of kindness (kinda ironic). I wonder could we also donate to your channel somehow or not? Personally I do not own much but comparing your channel to most Udemy classes you deserve that 10 euros way more than those aforementioned and I would be more glad to support you even with that amount. Thanks bro.
Thank you! You are really good with explaining Java concepts - and under 9 minutes is even better.
Awaiting to see next series or lessons for Java Advanced!
great video!!! I'm infinitely grateful for your dedication and big heart to share this knowledge with the world. Thank you soo much
Vegan pizza?!?
That was hilarious bro! 😅😂
Thank you so much for these videos. Yours is the most full and systematic playlist to learn java with fun and a Bro language on RUclips! ❤
fr
You are batter than other teacher! Thank you for this video!😄😄
The only youtuber I ve seen whose comment section has nothing but thank you comments. Speaks Volumes!
And thank you for doing an amazing job!
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
Best teacher!!! 👍👋
Easy explained tutorial. Well done.
Well explained! Keep up the good work!
thankyou so much for the video series
How can you be so great tutor? I wish i found you as soon as you uploaded video last year. I mean it, you are a great teacher.
I was totally not interested in Java almost quting thus job. But now i'm interested. And one day, i want to take you C , python too.
This was helpful
Appreciate this!
Nice.
thx brotherman!
excelent video. Probably wrote 'excelent' wrong but I don't care :-D
Nice one bro.
As always, excellently explained.
Thank you may allah bless you
great video thank you bro
Great
Been watching your videos since 2 years, you are mine hero of all programming languages
Your videos are the best!
Thanks for these really great courses
thaks all videos are just excellent!
greate video as always
Very clear explanation!
Thnku bro for tho awesome video
thanks for watching JAzim!
It's just me, or that crust loking kinda *THICC*
stuffed and thicc
Im so constructed is unreal
thank u bro for the awesome video
at this point brocode has become my free lecturer
thanks bro
I am happy that i am seeing your channel growing up! Keep going! U are doing a great work
Well Explained, deserve more subs ❤️
This was better than trying to learn it on Zybooks
Thanks for the pizzas bro!
really great tutorial
Best of the best
Thanks for video 🙏
Thanks for watching Babu!
👏😄
i wana ask... i see you are PRO:) eclipse or IntelliJ, diferences? is it colors you like themes? or why you like it?:) im noob in java, but already paid for my lessons.. You are my alternative teacher :D
I don't have a lot of experience with IntelliJ, so I can't speak on it's behalf. But there is a growing trend of people switching to IntelliJ, so that might not be a bad IDE to begin with.
❤❤❤❤❤❤❤❤❤
Nice
this is awesome ! come tech in my college 😍😍😍😍.
Good stuff Bro!
Great video
Thanks, Bro!
Thank you!!
thx bro
Like methods-constructors. One by one, 29th. Thank you, ma Bro Sensei!
You're a hero bro keep the good work
Thanks bro, you helped me out.
Love your explanation bro!!!
Hey you! yeah you Bro code, you're AMAZING!
🍕 pepperoni best pizza on earth
nice
Thanks senpaii
thx 4 bid bro !
ty bro
Great video bro
Great job!
👍
superb :D
Thanks, Bro! ☕ You're awesome!
Σε ευχαριστούμε Bro για αυτή τη σειρά με τα tutorials στη Java!
good
to the point, what I like... you speak clearly, that's good too. thanks! btw: -thicc is spelled 'thick', 😜ha ha!
Thank you
Thank you so much sir.
Zero dislikes, what a legend.
nice video Bro Code
You remind me of barney stinson
Thankyou
🙏
niceeeeeeeeeeeee
Do I really need to instantiate all the arguments in every method?
thank you my Bro ♥♥♥
A playList only with project in java please
Thanks
Like
thannnnnk you
Thank you pizza guy
4:30 overloadded constructor
some food for the allmighty algorithm : "great , concise, high quality, .addrandomAdjective(); "
thicc crust
Bro
Bro what would happen if we did this in the Pizza class:
Pizza(String bread,String sauce,String cheese,String topping){
this.bread = bread;
this.sauce = sauce;
this.cheese = cheese;
this.topping = topping;
}
Pizza(String bread,String sauce,String topping,String cheese){
this.bread = bread;
this.sauce = sauce;
this.topping = topping;
this.cheese = cheese;
}
and then we created an object like this:
Pizza pizza = new Pizza("s1" , "s2" , "s3" , "s4");
Which one would be the topping and which one would be cheese?
Java will encounter an error due to a duplicate constructor. Java looks at the order and number of the data types within the parameters. For all intents and purposes, your IDE will think they are the same constructor 👍
@@BroCodez thanks bro
🍕nice bro!🍕
thank you!!!!!!
thank you.
You're welcome
I'm soooo confused you keep talking about string cheese!!! What's going oN!!!
so i have a question but is there a way to stop the console from showing null or is it just something that is part of overloaded constructors.
Thanks Bro, 06/07/2024
Me who used booleans for sauce and mozzarella so i only needed two overloaded constructors... #italiancraft
🍕😮
Vegan pizzaa💀💀💀