please make sure all the constructors listed above are in the code please make sure to use
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
2. Application description: Program should has at least following classes: - Main class that would manipulate some data stored in the ListADT. - Classes that represent a data itself. That data developed following OOP concept should include concrete classes (Circle, Rectangle, etc.), superclass and Comparable interface. - Finally, that data is stored in the ListADT presented as a concrete class that implements ListInterface... The data encapsulated into your Data Type class should be private and accessed only via public methods. Mandatory methods to be implemented are: constructors add(Shape2D myshape) isFull() isEmpty(0 size() insert(int position, Shape2D myshape) Additionally, have to String () method implemented to print specific for each stored object and the whole ADT information. Application should use ListADT to store that data and manipulate it (add data one by one, add into specific position, possible search for a specific data and output it). Data input is entered from keyboard. Results are output on the screen. Use comments in the program code and enable some instructions printed out on the screen. Optional: Use of generics as a data type. Use of exceptions and try-catch blocks. 3. Deliverables: .java, .class, and readme files. In readme file specify how your application works, and provide example of the sample input and expected output. UML class diagram should be included as a part of design document (readme file). 2. Application description: Program should has at least following classes: - Main class that would manipulate some data stored in the ListADT. - Classes that represent a data itself. That data developed following OOP concept should include concrete classes (Circle, Rectangle, etc.), superclass and Comparable interface. - Finally, that data is stored in the ListADT presented as a concrete class that implements ListInterface... The data encapsulated into your Data Type class should be private and accessed only via public methods. Mandatory methods to be implemented are: constructors add(Shape2D myshape) isFull() isEmpty(0 size() insert(int position, Shape2D myshape) Additionally, have to String () method implemented to print specific for each stored object and the whole ADT information. Application should use ListADT to store that data and manipulate it (add data one by one, add into specific position, possible search for a specific data and output it). Data input is entered from keyboard. Results are output on the screen. Use comments in the program code and enable some instructions printed out on the screen. Optional: Use of generics as a data type. Use of exceptions and try-catch blocks. 3. Deliverables: .java, .class, and readme files. In readme file specify how your application works, and provide example of the sample input and expected output. UML class diagram should be included as a part of design document (readme file).
Expert Answer:
Related Book For
Income Tax Fundamentals 2013
ISBN: 9781285586618
31st Edition
Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill
Posted Date:
Students also viewed these programming questions
-
CANMNMM January of this year. (a) Each item will be held in a record. Describe all the data structures that must refer to these records to implement the required functionality. Describe all the...
-
This question concerns lexical grammars. (a) Tree Adjoining Grammars contain two types of elementary tree. (i) What are these trees called? [1 mark] (ii) If one were building a grammar for English...
-
What types of costs are associated with a Stance" sock vending machine located in an airport? At Cleveland Hopkins International Airport in northeastern Ohio, a vending machine that dispenses socks...
-
Suppose four gas molecules are placed in the left flask in Figure 19.6(a). Initially, the right flask is evacuated and the stopcock is closed. (a) After the stopcock is opened, how many different...
-
With the evolution of operating systems in mind, I think it would be interesting to hear of your own experiences with operating systems. Share your experiences with us by engaging in a conversation...
-
Calculate the solution to the following mean-reverting rnsteinUhlenbeck SDE: \[d X_{t}=\mu X_{t} d t+\sigma d B_{t}\] with \(X_{0}=x\).
-
Deborah purchases a new $30,000 car in 2014 to use exclusively in her business. If Deborah does not elect to expense in 2014 and holds the car until it is fully depreciated, how many years will this...
-
How do decision makers determine the receivables turnover based on the information reported by a company?
-
Find each of the following sums or differences: (a) x +4/9 + 2x - 25/9 (b) 2y +3/ 3y-6 - 3-y/3y-6
-
What potential problems does a foreign investor experience in an industrial joint venture with an ex-local agent or distributor?
-
In a competitive labor market, an increase in the minimum wage results in a(n) __________ in the quantity of labor supplied and a(n) __________ in the quantity of labor demanded. a. increase;...
-
In your opinion, in which industries could the UK, Italy and Australia be considered key countries?
-
The money stock includes all of the following EXCEPT a. metal coins. b. paper currency. c. lines of credit accessible with credit cards. d. bank balances accessible with debit cards.
-
A lower-level manager discovers that his boss has made a wrong decision that could affect the company negatively. Looking at the various cultural norms described in the chapter, how would you expect...
-
Carefully consider the meaning and importance of risk of overreliance, the tolerable rate of deviation, and the expected population deviation rate. Observe that Exhibit 8.5 Table 1 is used if the...
-
Use the method of Example 4.29 to compute the indicated power of the matrix. 1 0 1
-
A golf ball is hit from the tee and travels above level ground. Accounting for air resistance, where is the horizontal location of the peak of the flight: at a position that is less than half the...
-
The velocity of an object is given in SI units by \(\vec{v}=\left(a t-b t^{2} ight) \hat{\imath}+c \hat{\jmath}\), with \(a=14 \mathrm{~m} / \mathrm{s}^{2}, b=10 \mathrm{~m} / \mathrm{s}^{3}\), and...
-
A cannon fires a shell at an angle such that the shell's initial velocity has a horizontal component of \(20 \mathrm{~m} / \mathrm{s}\) and a vertical component of \(35 \mathrm{~m} / \mathrm{s}\)....
Study smarter with the SolutionInn App