Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Define Java Classes and Instantiate Their Objects In this assignment, you will design and code a simple Java application that defines a class, instantiates the
Define Java Classes and Instantiate Their Objects In this assignment, you will design and code a simple Java application that defines a class, instantiates the class into a number of objects, and prints out the attributes of these objects in a specific way. Your program output should look like the sample output provided in the "Define Java Classes and Instantiate their Objects Instructions" course file resource. Full instructions for successfully completing this assignment are included in this resource. Use the submission template available in the resources, WeekXSolutionSubmissionTemplate.docx. Your assignment will be scored on the following criteria: Design a program that meets basic objectoriented constructs requirements. Code an application that exercises classes and objects. Test the application and document testing. Explain the approach taken to develop the application and the major decisions made. Identify relevant fundamental constructs in the submitted program. Define Java Classes and Instantiate their Objects In this assessment, you will design and code a simple Java application that defines a class, instantiate the class into a number of objects, and prints out the attributes of these objects in a specific way. You can use either the Toolwire environment or your local Java development environment to complete this assignment. The requirements of this application are as follows: The application is to define a Java class called Course. The Course class has the following attributes: code a string field to store the course code eg IT creditHours an int field to store the credit hours of the course eg The application then instantiates, in order, seven instances objects from the Course class and assigns to each instance the following values:Finally, the application prints out, in the same order as the instantiation order, the attributes of these instances using this format: order of instantiation Course Code Course Credit Hours Successful completion of this assignment will show the correct order of object instantiation and the correct attributes of each object when the application is run. Your program output should look like this sample output: rn run: Teacher's Copy Teacher's Copy The number inside the is the display order number The number inside the is the credit hours for the course IT ITITITI ITIT ITT BUILD SUCCESSEUL total time: seconds Follow these steps to complete this assignment: Create a NetBeans Java console application project called UADefineClassInstantiateObj". Develop the application to meet the stated requirements. Compile and test your application using the provided input data. Make sure to document the result of your testing by taking screenshots of the result of running your application similar to the provided sample output. One screenshot is required for this assignment. Explain your approach you took to complete this assignment and the major decisions you made. As part of your explanation, be sure to identify the fundamental Java constructs you used that were specific and relevant to your submitted program. rn Deliverables: Use the submission template available in the resources WeekXSolutionSubmissionTemplatedocx to complete and submit your deliverables. Your deliverables in the submission template should include: Your work Netbeans project zip file copy of java source code A screenshot of the result of testing your application. See the examples above. Explain the approach you took to complete this assignment and the major decisions you made. As part of your explanation, be sure to identify the fundamental Java constructs you used that were specific and relevant to your submitted program. Your assignment will be scored on the following criteria: Design a program that meets given specifications. Code an application that exercises classes and objects. Test the application and document testing. Explain the approach taken to develop the application and the major decisions made. Identify relevant fundamental constructs in submitted program. Communicates efficiently, effectively, and in an appropriate manner as an IT professional.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started