Giter Club home page Giter Club logo

wade1990 / question-1 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from shyamalsoni/question-1

0.0 1.0 0.0 3 KB

You work in an organisation that manufactures trophies. A trophy will have a definite shape, will be made of a definite metal, and will have a coating layer over it by some specific element. Once a customer comes to your office to place an order, you need to ask for the relevant details, in order to build the exact trophy as per the requirement. Details you need from a customer are:  The shape, and its dimensions. The possible shapes are Sphere, Cylinder, Cube or something abstract which you can consider t o be a cuboid.  The metal to be used to build the trophy, and its purity percentage. The possible metals are Aluminium, Steel or Copper.  The element to be used for the coating layer, and its thickness. The possible elements are Gold, Silver or Bronze. Th e metals and the coating elements have a fixed price in your organization. Write an object oriented program with Factory pattern, to take the relevant details of the trophy from the user and calculate the cost for the trophy, assuming your organization doe s not take any making charges. You will need to create UI of the application, preferably responsive.

Java 100.00%

question-1's Introduction

Question-1

You work in an organisation that manufactures trophies. A trophy will have a definite shape, will be made of a definite metal, and will have a coating layer over it by some specific element. Once a customer comes to your office to place an order, you need to ask for the relevant details, in order to build the exact trophy as per the requirement. Details you need from a customer are:  The shape, and its dimensions. The possible shapes are Sphere, Cylinder, Cube or something abstract which you can consider t o be a cuboid.  The metal to be used to build the trophy, and its purity percentage. The possible metals are Aluminium, Steel or Copper.  The element to be used for the coating layer, and its thickness. The possible elements are Gold, Silver or Bronze. Th e metals and the coating elements have a fixed price in your organization. Write an object oriented program with Factory pattern, to take the relevant details of the trophy from the user and calculate the cost for the trophy, assuming your organization doe s not take any making charges. You will need to create UI of the application, preferably responsive.

Ans:

This program is done in java. To run this proram you can use command prompt or you can use any IDE which supports java.

question-1's People

Contributors

shyamalsoni 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.