//********************************************************************************** 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 TH-cam 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.
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
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 TH-cam! ❤
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 TH-cam 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.
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
Easy explained tutorial. Well done.
Awaiting to see next series or lessons for Java Advanced!
Best teacher!!! 👍👋
You are batter than other teacher! Thank you for this video!😄😄
Well explained! Keep up the good work!
thankyou so much for the video series
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 TH-cam! ❤
fr
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.
Great video as usual
thank you bro
great video!!! I'm infinitely grateful for your dedication and big heart to share this knowledge with the world. Thank you soo much
Thanks for these really great courses
Been watching your videos since 2 years, you are mine hero of all programming languages
Your videos are the best!
Well Explained, deserve more subs ❤️
Thank you, man. It really helps me out
great video thank you bro
You're a hero bro keep the good work
thaks all videos are just excellent!
I am happy that i am seeing your channel growing up! Keep going! U are doing a great work
Very clear explanation!
thank u bro for the awesome video
Best of the best
Thnku bro for tho awesome video
thanks for watching JAzim!
greate video as always
Great video
This was helpful
Thank you so much, Bro Code!
this is awesome ! come tech in my college 😍😍😍😍.
Love your explanation bro!!!
Great video bro
🍕 pepperoni best pizza on earth
Good stuff Bro!
Thank you may allah bless you
really great tutorial
Thanks for video 🙏
Thanks for watching Babu!
Appreciate this!
Nice.
thx brotherman!
excelent video. Probably wrote 'excelent' wrong but I don't care :-D
Great
It's just me, or that crust loking kinda *THICC*
stuffed and thicc
Thanks bro, you helped me out.
Thanks for the pizzas bro!
nice video Bro Code
Great job!
Nice
Thank you so much sir.
superb :D
at this point brocode has become my free lecturer
thank you my Bro ♥♥♥
Thanks, Bro! ☕ You're awesome!
Thanks, Bro!
Im so constructed is unreal
nice
Thank you!!
thx bro
Σε ευχαριστούμε Bro για αυτή τη σειρά με τα tutorials στη Java!
29th. Thank you ma Bro Sensei
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.
Like methods-constructors. One by one, 29th. Thank you, ma Bro Sensei!
Thanks senpaii
good
❤❤❤❤❤❤❤❤❤
Thanks bro
❤
You remind me of barney stinson
👏😄
Hey you! yeah you Bro code, you're AMAZING!
Thank you
to the point, what I like... you speak clearly, that's good too. thanks! btw: -thicc is spelled 'thick', 😜ha ha!
thx 4 bid bro !
thank you!!!!!!
This was better than trying to learn it on Zybooks
Like so much
Zero dislikes, what a legend.
4:30 overloadded constructor
Thankyou
I'm soooo confused you keep talking about string cheese!!! What's going oN!!!
🙏
ty bro
Like
🍕nice bro!🍕
👍
thanks
thannnnnk you
how do we do a single file wth multiple classes and how do you get access to it??
i'd rreally love if bro responds to this
A playList only with project in java please
niceeeeeeeeeeeee
Hello Brocode. Can you demo text to speech => virtual assistant java. Can you help me. Thank you verry much... Love broCode
I haven't done that before
@@BroCodez thanks you answer me, I have seach GG how to install,apply package javax.speech but don't work. can you help me ???
thank you.
You're welcome
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
hmm.. what's the difference between this and the overloaded methods one?