Question: LAB #2-Java Methods Student Due Date: s to Purpose: The purpose of this Lab assignment Practice the use of instance methods in Java classes Practice

 LAB #2-Java Methods Student Due Date: s to Purpose: The purpose

of this Lab assignment Practice the use of instance methods in Java

classes Practice the use of static methods in Java classes References: Read

LAB #2-Java Methods Student Due Date: s to Purpose: The purpose of this Lab assignment Practice the use of instance methods in Java classes Practice the use of static methods in Java classes References: Read the Lecture Notes #3.4 This material provides the necessary information you need to complete the exercises Be sure to read the following general instructions carefully - This lab should be completed individually by all the student:s - You will have to demonstrate your solution in a scheduled lab session and submitting the code through through dropbox link on eCentennial You must name your Eclipse project according to the following rule YourFullName COMP228Labnumber Example: JohSmith COMP228Lab2 You should create an Eclipse project for each exercise Submit your assignment in a zip file that is named according to the following rule YourLastName COMP228Labnumber.zip Example: JohSmith COMP228Lab2.zijp Apply the naming conventions for variables, methods, classes, and packages: - variable names start with a lowercase character - classes start with an uppercase character packages use only lowercase characters - methods start with a lowercase character Exercise l: Write a Java application that simulates a test. The test contains at least five questions about first three lectures of this course. Each question should be a multiple-choice question with 4 options Design a Test class. Use programmer-defined methods to implement your solution. For example create a method to simulate the questions simulate

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

To complete Exercise 1 youll create a Java application that simulates a test with multiplechoice questions using the JOptionPane class for user intera... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!