Generate the pseudocode for each of the classes.

Assignment Help JAVA Programming
Reference no: EM13945440

Generate an object-oriented design for a system that keeps tracks of your CD and DVD collection.

-Identify each of the classes, associated data, and operations for the classes.

-Generate the pseudocode for each of the classes.

-Draw a GUI that will create the objects and provide access to each object's processing methods.
Here is the example

Class Cube
Side As Real
Volume As Real
Subprogram SetSide(NewSide)
Set Side = NewSide
End Subprogram
Subprogram ComputeVolume()
Set Volume = Side ^ 3
End Subprogram
Function GetVolume() As Real
Set GetVolume = Volume
End Function
Function GetSide() As Real
Set GetSide = Side
End Function
End Class
Class SquareBox As Cube
Height As Real
Subprogram SetHeight(NewHeight)
Set Height = NewHeight
End Subprogram
Function GetHeight() As Real
Set GetHeight = Height
End Function
Subprogram ComputeVolume()
Set Volume = Side ^ 2 * Height
End Subprogram
End Class

Reference no: EM13945440

Questions Cloud

Identify a possible improvement to the application : Identify a possible improvement/enhancement to the application in question and document an enhancement request with user requirement specifications.
What is the definition of mysticism : What is the definition of mysticism and what is the definition of a person who is considered a mystic? What were Howard Thurman's thoughts regarding being a mystic and mysticism?
Similarities and differences between laws and ethics : Need two essays on 750 words each 1.) Briefly describe Web 2.0. How does it differ from the traditional Web? 2.) Analyze the similarities and differences between laws and ethics.
What is this year dividend yield-capital gains yield : Suppose a company has a net income of $1,000,000 and a plowback ratio of 40%. There are 50,000 shares of stock outstanding. What will this year's dividend be? What should the stock price be today? What is this year's dividend yield? What is this year..
Generate the pseudocode for each of the classes. : Generate an object-oriented design for a system that keeps tracks of your CD and DVD collection.
Explain the impact of the proliferation of mobile devices : Analyze and explain the impact of the proliferation of mobile devices on cloud-based computing in various industries. For example, the rise of mobile phones and cloud-based computing.
What is the weighted average contribution margin per unit : Lambardi Company sells 3 types of bags. Bag A sells for $17 and has variable cost of $9.00 per unit. Bag B sells for $16 and has variable cost of $12.00 per unit. Bag C sells for $7 and has variable costs of $6.00 per unit. Lambardi sells in a mix of..
Estimate the value per share-dividend discount model : Johnson and Johnson reported earnings per share of $6.400 in 2013 and paid dividends per share of $3.40 in that year. The firm reported depreciation of $630 million in 2013 and capital expenditure of $950 million. Estimate the value per share, using ..
Lifo inventory method : Winnebago Industries, Inc. is a leading manufacturer of motor homes. Suppose Winnebago reported ending inventory at August 29, 2014, of $46,130,000 under the LIFO inventory method

Reviews

Write a Review

JAVA Programming Questions & Answers

  Program which evaluates a weighted average

Write a program which reads student names, social security numbers, and test scores from an input file named infile.

  Morgellons disease is delusional

Why do some scientists say that Morgellons disease is delusional? When there have been fibers extracted from patients that cannot be identified? Isn't that physical proof that something is affecting these people physically?

  What is a java archive

What type of output does the javadoc command generate and how do you view the output and what is a Java archive?

  Define get and set functions and two constructors

Create a class called Building. It will have one data member of type string (used for a postal address). Define get and set functions and two constructors.

  Writing a program to manage a student database

Writing a program to manage a student database. The interface to the program should be a GUI that looks similar to the following: A combo box should allow the user to select one of the three database actions shown

  Object oriented programming-getting started with classes

Suppose you are car shopping and want to store information about possible choices. Model, and implement an automobile class. Use a UML drawing tool such as Umbrello or Microsoft Visio to create a class diagram. Your class should have at least cons..

  Write an applet that simulates a soft drink machine.

Write an applet that simulates a soft drink machine. The simulated machine dispenses the following soft drinks: cola, lemon-lime soda, grape soda, root beer, and bottled water. These drinks cost $0.75 each to purchase.

  Digital image processing using java

Digital image processing using java ..create plugin using Jedit and run it in imageJ

  Write java statements to create a collection of integers

Write Java statements to create a collection of integers, and to initialize each element of the collection to -1. Then, using for each statement to print the value of each element.

  Aims1 to understand actual communication with an smtp

aims1. to understand actual communication with an smtp server can be achieved using tcp sockets.2. to understand the

  Find how many strings in a have exactly three 5s

Let A be the set of all strings of decimal digits of length five. For example, 00312, 99999, and 19483 are strings in A.

  Integer expression evaluator

You must implement a bounded generic Stack class. Represent your Stack using an array to hold the stack content - Integer Expression Evaluator

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd