StudentShare
Contact Us
Sign In / Sign Up for FREE
Search
Go to advanced search...
Free

Software Development (JAVA) of Class Diagram - Coursework Example

Cite this document
Summary
The paper "Software Development (JAVA) of Class Diagram" focused on the critical, thorough, and multifaceted analysis of the major peculiarities of software development (JAVA) of a class diagram. The class diagram shows the classes employed in the java application…
Download full paper File format: .doc, available for editing
GRAB THE BEST PAPER93% of users find it useful
Software Development (JAVA) of Class Diagram
Read Text Preview

Extract of sample "Software Development (JAVA) of Class Diagram"

The classes box, cylinder, triangular are illustrated at the bottom with connections to the calculateCost class which is the parent class. The working methods illustrate the functionalities/purposes of the different classes. The underived class checkStock has not been derived or linked to any child classes, and therefore, it has been shown separately with its data members and method members.
The class hierarchy diagram hierarchically shows the 5 classes with the superclass/parent class/base class on top i.e., the class calculateCost. The child classes are shown at the bottom and they have been labeled as implementing classes with definitions of the member methods of the parent class. The superclass has been labeled as an abstract class because of the absence of method definitions, i.e., abstract methods.
The instance diagram shows the object instances of the class calculateCost and its sub-classes: box, triangular and cylindrical. It shows the superclasses protected data members being accessed by the subclasses. The instance diagram depicts the flow of the object-oriented program and traces the entire execution path or process flow of the application. It shows the values and the calculations as it occurs in a real-time execution scenario.
The Use Case diagram illustrated the actors i.e., the Operator who initializes the stock of grade 1, grade 2, grade 3 of boards present in the company’s reserves for designing tubes and boxes. The processes of a customer logging in and making an order choice for a box or a tube, the grade, and the other additional specifications like reinforcible bottom, sealable top, color printing, etc.
The cost is calculated based on the grade of the material.
The additional costs of sealable tops, reinforcible bottoms, color printing are added to the total cost as percentages.
The main calculation is involved in the part where the surface area is calculated using the method calculateSurfaceArea.
It accepts the inputs for total units ordered (example n), the dimensions, and the type ( board grade) from the user.
For the Box it calculates the surface by employing the following mathematical calculation:
Surface area = n X length X height,
For the Triangular tube the following calculation is performed,
Surface area = n X {(0.5 X side1 X side2) + {squareroot {(side1)2 + (side2)2}* height},
+side1 X height + side2 X height.
For the cylindrical tube the surface area is calculated using the following mathematical formula:
Surface area = n X 3.14*radius2 + (2 X 3.14 X radius * height).
Here n is the number of ordered units or the quantity.
Height is the height of the triangular or cylindrical tube.
Side 1 and side 2 are the two sides of the triangle base tube.
Radius is the radius of the cylindrical tube.
Length, breadth, and height are the three sides of the box.
The total ordered surface areas of grade 1, grade 2, and grade 3 are compared with the initially entered quantity of board material by the order. Accordingly, the output is displayed and the message is shown whether the ordered quantity has exceeded the stock available.

Read More
Cite this document
  • APA
  • MLA
  • CHICAGO
(“Software Development (JAVA) Coursework Example | Topics and Well Written Essays - 2500 words”, n.d.)
Retrieved from https://studentshare.org/information-technology/1395957-software-development-java
(Software Development (JAVA) Coursework Example | Topics and Well Written Essays - 2500 Words)
https://studentshare.org/information-technology/1395957-software-development-java.
“Software Development (JAVA) Coursework Example | Topics and Well Written Essays - 2500 Words”, n.d. https://studentshare.org/information-technology/1395957-software-development-java.
  • Cited: 0 times

CHECK THESE SAMPLES OF Software Development (JAVA) of Class Diagram

Software Design Defects Detection and Classification

The models reviewed are an indispensable part of software development and as such, it is important to examine how they help 'clean up' the software process(Leszak, Perry and Stoll 2002).... In software development, the writing of a defect free code is one of the major concerns.... This concern is cuts across the e software development and object oriented programming community.... This aspect of software development shows that the defects in the process are likely to be repeated....
8 Pages (2000 words) Literature review

Contemporary Issues in Information Systems

This report ''Contemporary Issues in Information Systems'' discusses that CASE stands for Computer Aided Software Engineering and it encompasses a wide variety of computer-based tools that are used for software development, planning and evolution.... In view of the fact that the basic aim of a software development team is to design and develop a scalable, robust and maintainable application system that convenes end-user needs.... However, it is unfeasible achieve this goal without formulating effective application design as well as documentation that is a basic stone of the software development process....
9 Pages (2250 words) Report

Software Engineering

The discussion here is limited to the requirements analysis phase of the software development lifecycle.... The objects and their relationships are expressed graphically on an object diagram.... A State Transition diagram depicts the permitted states of an object and the events that cause a change of state.... Modeling using computer-aided software engineering (CASE) tools to render and automatically check the consistency of the models is the common practice in many development environments....
13 Pages (3250 words) Essay

The Advantages of Using Java in Creation Application

hows a set of use cases and actors (a special kind of class) and their relationships.... An interface can be multiply-inherited, and it can be used in a more flexible way than the usually rigid class inheritance structure.... The paper "The Advantages of Using java in Creation Application" presents java language.... java language has an extensive library of routines for easily coping with TCP/IP protocols like Http and FTP....
6 Pages (1500 words) Assignment

Software Architecture

This report "software Architecture" presents a comparison that is done for both types of web servers.... It is important to note that the performance of any web server is dependent not only on its own features but also on the features of the environment in which it is deployed.... ...
8 Pages (2000 words) Report

Software Design Defects Detection and Classification

The models reviewed are an indispensable part of software development and as such, it is important to examine how they help 'clean up' the software process(Leszak, Perry and Stoll 2002).... This aspect of software development shows that the defects in the process are likely to be repeated.... The major classes are the defects within a particular class, which are inter class and defects across other classesTraditionally, the software quality management process was focussed on finding the defects in software and correcting them....
10 Pages (2500 words) Research Paper

The Strategy of Valentinos

A common usage of the activity diagram is that it would permit to describe basic along with substitute courses of action.... Figure 1 demonstrates the activity diagram for the use of the recommender system in Valentinos.... This report "The Strategy of Valentinos" intends to identify various issues and advice Valentinos on its strategy that would ultimately lead towards efficient use of technology....
13 Pages (3250 words) Report

Program Analysis of Petri Chess

With the coming of computer and technology, people thought that such physicals games would come to an end, however, as others believed, that lovers of the game refused to let computer ruin this game and decided to take chess to the computer and hence developed a software that enables lovers of chess to still play it in the computer.... And because of the madness of Petri chess, there is a great need to know the efforts that were required to develop this software....
16 Pages (4000 words) Coursework
sponsored ads
We use cookies to create the best experience for you. Keep on browsing if you are OK with that, or find out how to manage cookies.
Contact Us