Pizza Bill Generator App | Core Java and OOP Project
ฝัง
- เผยแพร่เมื่อ 1 ก.ค. 2024
- In this video I'll be showing how to create a simple application called pizza bill generator using core and and object oriented programming technique.
Timestamp:
0:00 Problem statement
4:16 Solution design
6:43 Coding the solution
Other Java and OOP projects:
1. Music Player App: • Music Player App | Cor...
2. Simple Game using core Java and OOP: • Making a simple Game |...
3. Banking Application using core Java and OOP: • Banking Application Us...
#java #oop #javaoops #javaproject
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.
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 😍❤
Your video is very helpful.
Thank you for this kind of content bro
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
great work sir plss keep posting video like this
Your the best thanks alot❤😢
Please don't stop to do videos like this.
Will start working again on such projects. Keep Supporting!!
excellent work ,this video helps me a lot.. Please make more Project videos on oops
Thanks Gaurav, consider subscribing :)
Love this bro 💕
Keep it coming Sir!!! one of the best tutorials for app...kudos to you!!!
Thanks Hrishikesh :)
@@_eazyalgo
Bro please continue the videos
Nice it includes all the concepts of oops
Thanks Sandeep
Best explanation
Answer me one thing should I use this types of small project in my resume for internship and college placement?
Please make some more high level Projects video we need more people like you ❤
Thanks brother
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 :)
Super bro
thanks bhai .
Subscribed❤️
Hey...you are tired your best to understand us...so thnks for making this video ❤
Thanks Tanu for you kind words ❤
thanks a lot !!
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).
thank you sir
Bro Subscribed already...
Top Notch Stuff
🔥
Sir very nice project. Please make one java project using core and advance java concept and also add mysql
well explained....subscribed😊
Thanks :)
Excellent 👌
Thanks
Please can u tell me from where can I get 2-3 years experience level java springboot projects bro 🙏🙏
Thanks Broo!! Do more Realtime Projects
Thanks :)
Thanks a lot.easy and good.god bless you
You are most welcome
do you have the source code for this one?
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 :)
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.
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 a doubt sir, why we created data members private and why we created constructor for veg?
What will be the best way to solve the problem?
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
what is the better solution? 6:30
I have an exam today on OOP, i hope this helps :)
All the best
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
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.
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 :)
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
Where can I find code
Are Bhai this.veg me if else kya condition laga rkha hai
nice sir
Thanks
Sir can we add such code as a mini project in resume
No. Only for understanding concepts.
Please make 1-2 years experience level projects bro please🙏🙏
Bro I want code bro how can I copy
Please create POS application like Reliance mart .
Will work on it
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
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.
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
On which platform you are doing this code?Reply brooo
intellij idea
Source code?
hi abhay can you provide us with the source code?
Email me at abhay10june1999@gmail.com
What is the platform you used to run this code
IntelliJ
Source code??
Sr its app
Can I add this project in resume?.. answer me bro
It depends upon you, although this video is only for understanding concept.
Hi
Bro I want to connect with you
Sure, email me at abhay10june1999@gmail.com
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
arey yrr itne advertisements mt add kiya kro short videos m...man ni krta fir dekhne ka🙂
Thanks, will take care of this Sushmita
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() + "$");
}
}