Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

(IN JAVA) PLZZ HELP Create a 05.05 Assignment project in the Mod05 Assignments folder. Carefully read the instructions before you attempt the assignment. Before you

(IN JAVA) PLZZ HELP

  1. Create a 05.05 Assignment project in the Mod05 Assignments folder.
  2. Carefully read the instructions before you attempt the assignment.
  3. Before you begin coding, use a word processor to create a class diagram.
  4. Refer back to your submission for the Getting Started with Objects assignment and carefully choose an object to implement for a new class.
  5. In the 05.05 Assignment project, create a new class that should be named for your object this is the implementation or object class. Number it as V3 to match the PlanetV3 sample. For example, if you implement a student object, the class name would be StudentV3.
    1. Provide a default constructor for your object.
    2. Write two methods to perform an action or calculation for your object. Determine the return type and parameter list.
  6. Create a new tester class with a main() method this is the client class. Use the PlanetTesterV3 sample as a guide. For example, if you are using a student object, the client class name would be StudentTesterV3.
    1. Create an instance of your class using the default constructor (no parameters).
    2. Declare variables to pass to the methods.
    3. Invoke (or call) all methods with your new object using dot notation.
  7. Print the results in a user-friendly format. (see Expected Output).

Note: You will update this program in lesson 5.08 and add more features. Make sure you choose something that can have multiple objects created from the same blueprint.

Expected Output: The following screen shot is an example of output for a StudentV3 object. The class contains two methods to calculate the average of two grades and the difference between the grades. Your output will differ based on the object you define.

image text in transcribed

Rubric:

05.05 Default Constructors Grading Rubric
Components Points Possible Points Earned
Class diagram included. 1
Comments include name, date, and purpose of program. 1
Project consists of two separate classes in two separate files (implementation and client classes). 1
Default constructor correctly written, including documentation. 2
Objects constructed in main() method (in client class). 2
Method headers correctly written (in implementation class). 2
Individual methods invoked on an object in main() method (in client class). 2
All calculations and data manipulation are accurate. 1
Escape characters used to format output. 1
No compiler or runtime errors. 1
Thoughtful PMR included. 1
Total 15
4 Blue): Terminal Window - 5.05 APCS Options Grades: Grade 1 Grade 2 Average Difference 85 92 88.5 7 Can only enter input while your programming is running

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Systems Introduction To Databases And Data Warehouses

Authors: Nenad Jukic, Susan Vrbsky, Svetlozar Nestorov

1st Edition

1943153191, 978-1943153190

More Books

Students also viewed these Databases questions

Question

u = 5 j , v = 6 i Find the angle between the vectors.

Answered: 1 week ago