Git Product home page Git Product logo

cake-bakery's Introduction

Cake Bakery Project

The Cake Bakery Project is a Java-based application designed to manage a bakery system for creating and handling different types of cakes. It provides functionalities to create cakes with various flavors, fillings, and buttercream types.

Project Description

The project is structured into several classes, each representing a specific aspect of the cake bakery system. Here's a brief overview of the main components:

Cake Class

The Cake class represents a basic cake entity. It contains attributes such as flavor, size, and filling. Each cake object can have a specific type of filling, represented by the Filling class, and a type of buttercream, represented by the ButterCream class.

VictoriaCake Class

The VictoriaCake class is a subclass of Cake specifically designed for Victoria sponge cakes. It extends the functionality of the Cake class to include additional attributes such as whether the cake contains berries.

Filling Class

The Filling class represents the filling inside the cake. It contains attributes such as color and amount.

ButterCream Class

The ButterCream class represents the buttercream frosting on the cake. It contains attributes such as type, color, and quantity.

Main Class (HOMEWORK7)

The HOMEWORK7 class serves as the entry point for the application. It demonstrates the usage of arrays and ArrayLists to manage collections of cakes. It instantiates cake objects with different characteristics and prints out their details.

Features

  • Create cakes with different flavors, sizes, fillings, and buttercream types.
  • Manage collections of cakes using arrays and ArrayLists.
  • Demonstrate inheritance and polymorphism with the Cake and VictoriaCake classes.

Programming Topics:

  • Object-oriented programming (OOP)
  • Arrays and ArrayLists
  • Class and object instantiation
  • Inheritance and polymorphism
  • Encapsulation
  • Method invocation and parameter passing

Language:

  • Java

Getting Started

To run the Cake Bakery Project:

  1. Clone the repository to your local machine.
  2. Open the project in your preferred Java development environment.
  3. Compile and run the HOMEWORK7 class to execute the application.

Contribution

Contributions to the Cake Bakery Project are welcome! If you have any ideas for improvements or new features, feel free to open an issue or submit a pull request.

cake-bakery's People

Contributors

pr0sizar avatar

Stargazers

 avatar Nourah avatar Vedix avatar Samer avatar  avatar  avatar  avatar  avatar ksr avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.