Thank you so much man your videos are very helpful, on google its difficult to find source code of cool projects but your channel has excellent project idea with proper ecplanation🙌🙌
Nice video but it will be seen good if you make the application as a phone app that means that should be enable to customers to order themselves (order interface).
"super" is a keyword which is used for calling a constructor, variable or method from parent class. Here, super(veg) is being used for calling constructor from parent class having 1 parameter and giving veg as a argument to a parent class constructor.
Hi Sir, Just now I subscribed. Mind blowing project explaining… I am just a B. Com guy and I understood very easily about pizza bill generate code in core Java….. super sir really I got a very confidence on me after watching this video…please keep going best of luck💐🤝👍🇮🇳…. Ganti from Vizag.
Hlow sir the overall code is interesting but I got stucked in one part only ---WHEN WE CALL ANY FUNCTION ie.(addExtraCheese, addExtraToppings) TWICE IN A ROW IN THE MAIN CLASS THEN IT DOESN'T SHOW ANY INCREAMENT IN EXTRA TOPPINGS OR CHEESE PRICE IT WILL ONLY MAKE INCREAMENT IN TOTAL BILL. PLEASE ALSO EXPLAIN HOW TO GET RID OF THIS PROBLEM! THANKS SIR!
Hello , is this proper soltion on this simple project ? // base class Pizza public class Pizza { // constructor with 2 parameters vegan and non-vegan public Pizza(boolean vegan) { this.vegan = vegan; // Vegan's price is 30$, non-vegan's price 40$ if (vegan) { this.price = 30; } else { this.price = 40; } } // instance variables private boolean vegan; // true if vegan, false otherwise private int price; // price of the pizza // methods // addExtraCheese method increases the price by 5$ public void addExtraCheese() { this.price += 5; } // addExtraToppings method increases the price by 10$ public void addExtraToppings() { this.price += 10; } // takeAway method returns the price of single pie of pizza increased with 20$ public int takeAway() { return this.price + 20; } // dine method returns the price of single pie of pizza without extra charge public int dine() { return this.price; } } // DeluxPizza class inherits Pizza class and already has extra Cheese and Toppings public class DeluxPizza extends Pizza { // constructor with one parameter vegan public DeluxPizza(boolean vegan) { // call the super constructor with vegan parameter super(vegan); // add extra cheese and toppings to the delux pizza super.addExtraCheese(); super.addExtraToppings(); } } // test code with proper variables for price of 2 types of pizza public class Main { public static void main(String[] args) { // create a vegan delux pizza object DeluxPizza veganDelux = new DeluxPizza(true); // create a non-vegan delux pizza object DeluxPizza nonVeganDelux = new DeluxPizza(false); // print the prices of the pizzas for take away and dine options System.out.println("Vegan delux pizza:"); System.out.println("Take away: " + veganDelux.takeAway() + "$"); System.out.println("Dine: " + veganDelux.dine() + "$"); System.out.println("Non-vegan delux pizza:"); System.out.println("Take away: " + nonVeganDelux.takeAway() + "$"); System.out.println("Dine: " + nonVeganDelux.dine() + "$");
These videos are very helpful to understand the OOPS concepts. Please continue to post more videos on Java. Thank you!
Thanks Heyman! Will upload more videos.
It is the perfect application for the beginners to understand the concepts more clearly.Thank you soo much sir ❤
just go for school amnagment system in java of another youtube channel. i see it and expain me everything bvery clearly
Thank you so much man your videos are very helpful, on google its difficult to find source code of cool projects but your channel has excellent project idea with proper ecplanation🙌🙌
Thank you so much, it was very helpful for understanding the OOPS Concepts
your are the god brow. thank you sooo sooo much. i learn all concepts but i didn't have to understand how to use it correctly. so your are the man. ❤
Thanks man :)
Best explanation
Answer me one thing should I use this types of small project in my resume for internship and college placement?
excellent work ,this video helps me a lot.. Please make more Project videos on oops
Thanks Gaurav, consider subscribing :)
Please don't stop to do videos like this.
Will start working again on such projects. Keep Supporting!!
Thank you sooo much! Was looking for some projects to practice oops stumbled upon your videos. It's great
Thanks! It means a lot!!
@@_eazyalgo21:29 Can you explain why you created String Bill = " " ?
@@poorpanda9033 Juts to initialise a empty string value.
Thank you from Sri Lanka 😍❤
Please make some more high level Projects video we need more people like you ❤
Nice video but it will be seen good if you make the application as a phone app that means that should be enable to customers to order themselves (order interface).
Hey...you are tired your best to understand us...so thnks for making this video ❤
Thanks Tanu for you kind words ❤
Keep it coming Sir!!! one of the best tutorials for app...kudos to you!!!
Thanks Hrishikesh :)
@@_eazyalgo
Bro please continue the videos
can you explain super(veg) ; in line 3 ? what does it do? "create constructor matching super" - what does it mean?
"super" is a keyword which is used for calling a constructor, variable or method from parent class. Here, super(veg) is being used for calling constructor from parent class having 1 parameter and giving veg as a argument to a parent class constructor.
I have an exam today on OOP, i hope this helps :)
All the best
Your video is very helpful.
great work sir plss keep posting video like this
Super bro..
Answer me one thing should I use this types of small projects in my resume ?..
Thanks bro, I don't think this project is enough to take a place in your resume its just for understanding the concept.
Hi Sir,
Just now I subscribed.
Mind blowing project explaining… I am just a B. Com guy and I understood very easily about pizza bill generate code in core Java….. super sir really I got a very confidence on me after watching this video…please keep going best of luck💐🤝👍🇮🇳…. Ganti from Vizag.
Thank you :)
Nice it includes all the concepts of oops
Thanks Sandeep
Thank you for this kind of content bro
Very nice 👌🆗, knowing that I am an Arab
Thanks man, really appreciate it :)
@@_eazyalgo can you provide your email I'd or instagram I'd. I have some doubts
I have a doubt sir, why we created data members private and why we created constructor for veg?
Super bro
Thanks a lot.easy and good.god bless you
You are most welcome
Thanks Broo!! Do more Realtime Projects
Thanks :)
What will be the best way to solve the problem?
Your the best thanks alot❤😢
Sir I have a project using oops in Java concepts.. project is about Selection of upsc process.. please could you suggest me
Hi Malavath, please email you full query at abhay10june1999@gmail.com
Thank you so much sir
Plz make a vdo on vector class
Thanks Preetiranjan for your kind words :) Will surely work on this in future.
Sir very nice project. Please make one java project using core and advance java concept and also add mysql
Sir can we add such code as a mini project in resume
No. Only for understanding concepts.
Nice explanation. What is super in deluxe pizza
Methods or variables that accessed using super keyword are from the parent class.
@@_eazyalgo thank you.
@@humaneone5581 Consider subscribing :)
Thank you so much ❤🎉❤❤
Hlow sir the overall code is interesting but I got stucked in one part only ---WHEN WE CALL ANY FUNCTION ie.(addExtraCheese, addExtraToppings) TWICE IN A ROW IN THE MAIN CLASS THEN IT DOESN'T SHOW ANY INCREAMENT IN EXTRA TOPPINGS OR CHEESE PRICE IT WILL ONLY MAKE INCREAMENT IN TOTAL BILL.
PLEASE ALSO EXPLAIN HOW TO GET RID OF THIS PROBLEM!
THANKS SIR!
Hi Nikhil, please connect over abhay10june1999@gmail.com
Please can u tell me from where can I get 2-3 years experience level java springboot projects bro 🙏🙏
Top Notch Stuff
thank you sir
do you have the source code for this one?
Why there was no input given in output terminal
Bro Subscribed already...
Awt swing applet javafx. Sir inme se konsa jyada use hota hai konsa sikhe age keliye
They are not actively used now, please checkout some other latest technologies.
Excellent 👌
Thanks
You lost me at "private String price;"
how can we have a proper interface for this
well explained....subscribed😊
Thanks :)
thanks a lot !!
🔥
thanks bhai .
Please make 1-2 years experience level projects bro please🙏🙏
Thanks brother
On which platform you are doing this code?Reply brooo
intellij idea
Are Bhai this.veg me if else kya condition laga rkha hai
We can add this project in our cv or not
No bro, not good enough for adding it to CV....only for learning concept which will help you in developing bigger projects
Love this bro 💕
what is the better solution? 6:30
What is the platform you used to run this code
IntelliJ
Can I add this project in resume?.. answer me bro
It depends upon you, although this video is only for understanding concept.
bro how you got this idea? How to get idea to create a project i mean how to get all data please tell me
@@sabyapalai you can just look around and get tons of ideas
Can i added its in my resume as a fresher reply plzz
This project is just for learning purpose, not good enough to add in resume
Subscribed❤️
Please create POS application like Reliance mart .
Will work on it
nice sir
Thanks
Where can I find code
If we mention it in resume if it add any wheightage
Not really, just for learning concepts
Can u please suggest java projects to enter in resume
@@preethireddyg3595 can you share me some details about what have you learned so far in java?
core java ,Advance Java,Collections
bro does the source code available
Bro I want code bro how can I copy
Source code?
hi abhay can you provide us with the source code?
Email me at abhay10june1999@gmail.com
please provide the source code if possible 🙏
Bro I want to connect with you
Sure, email me at abhay10june1999@gmail.com
arey yrr itne advertisements mt add kiya kro short videos m...man ni krta fir dekhne ka🙂
Thanks, will take care of this Sushmita
Hi
Sr its app
Hi Sir can i get code of this project.
I don't have it as of now, you need to take reference of the video only
Bhai mujhe bill me last print karwana hai ki aapne kya kya kitni kitni quantity me liya hai than total amount
Appreciate your approach! Really helped, Is there any way to contact you?
Email me at abhay10june1999@gmail.com
Hello , is this proper soltion on this simple project ? // base class Pizza
public class Pizza {
// constructor with 2 parameters vegan and non-vegan
public Pizza(boolean vegan) {
this.vegan = vegan;
// Vegan's price is 30$, non-vegan's price 40$
if (vegan) {
this.price = 30;
} else {
this.price = 40;
}
}
// instance variables
private boolean vegan; // true if vegan, false otherwise
private int price; // price of the pizza
// methods
// addExtraCheese method increases the price by 5$
public void addExtraCheese() {
this.price += 5;
}
// addExtraToppings method increases the price by 10$
public void addExtraToppings() {
this.price += 10;
}
// takeAway method returns the price of single pie of pizza increased with 20$
public int takeAway() {
return this.price + 20;
}
// dine method returns the price of single pie of pizza without extra charge
public int dine() {
return this.price;
}
}
// DeluxPizza class inherits Pizza class and already has extra Cheese and Toppings
public class DeluxPizza extends Pizza {
// constructor with one parameter vegan
public DeluxPizza(boolean vegan) {
// call the super constructor with vegan parameter
super(vegan);
// add extra cheese and toppings to the delux pizza
super.addExtraCheese();
super.addExtraToppings();
}
}
// test code with proper variables for price of 2 types of pizza
public class Main {
public static void main(String[] args) {
// create a vegan delux pizza object
DeluxPizza veganDelux = new DeluxPizza(true);
// create a non-vegan delux pizza object
DeluxPizza nonVeganDelux = new DeluxPizza(false);
// print the prices of the pizzas for take away and dine options
System.out.println("Vegan delux pizza:");
System.out.println("Take away: " + veganDelux.takeAway() + "$");
System.out.println("Dine: " + veganDelux.dine() + "$");
System.out.println("Non-vegan delux pizza:");
System.out.println("Take away: " + nonVeganDelux.takeAway() + "$");
System.out.println("Dine: " + nonVeganDelux.dine() + "$");
}
}
Source code??