Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I. Create java project II. Implementation of Student class: 1. add a class named Student with the following data fields (private) : ID, name, mark

image text in transcribed
image text in transcribed

I. Create java project

II. Implementation of Student class:

1. add a class named Student with the following data fields (private) : ID, name, mark

The mark should have value between 0 and 100 (0 and 100 are included)

2. Implement the constructors with no argument and with arguments

3. Implement getters and setters

4. Implement toString () that show all information about the student

II. Implementation of Test class

When you created the project, App class is created. This class contains the main method.

In this section, all implementation is done inside main method.

Consider the following three students:

student 1: 100, Mike, 60

student 2: 200, Joe, 96

student 3: 300, Linda, 33

the values represent the ID, the name and the mark.

1. In main method create an array of Student object and assign the above values.

2. In main method, add the code that does the following:

- Prompt the user to enter and ID of student.

- search for student with this ID and Display all information about this student using toString().

1. Create java project II. Implementation of Student class: 1. add a class named Student with the following data fields (private) : ID, name, mark The mark should have value between 0 and 100 (0 and 100 are included) 2. Implement the constructors with no argument and with arguments 3. Implement getters and setters 4. Implement toString() that show all information about the student II. Implementation of Test class When you created the project, App class is created. This class contains the main method. In this section, all implementation is done inside main method. Consider the following three students: student 1: 100, Mike, 60 student 2: 200, Joe, 96 student 3: 300, Linda, 33 the values represent the ID, the name and the mark. 1. In main method create an array of Student object and assign the above values. 2. In main method, add the code that does the following: - Prompt the user to enter and ID of student. - search for student with this ID and Display all information abolit this student using toString(). I. Create java project II. Implementation of Student class: 1. add a class named Student with the following data fields (private) : ID, name, mark The mark should have value between 0 and 100 (0 and 100 are included) 2. Implement the constructors with no argument and with arguments 3. Implement getters and setters 4. Implement toString() that show all information about the student II. Implementation of Test class When you created the project, App class is created. This class contains the main method. In this section, all implementation is done inside main method. Consider the following three students: student 1: 100, Mike, 60 student 2: 200, Joe, 96 student 3: 300, Linda, 33 the values represent the ID, the name and the mark. 1. In main method create an array of Student object and assign the above values. 2. In main method, add the code that does the following: - Prompt the user to enter and ID of student. - search for student with this ID and Display all information abolit this student using toString()

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

Data Infrastructure For Medical Research In Databases

Authors: Thomas Heinis ,Anastasia Ailamaki

1st Edition

1680833480, 978-1680833485

More Books

Students also viewed these Databases questions

Question

________ is accomplished by combining multiple pay levels into one.

Answered: 1 week ago

Question

find all matrices A (a) A = 13 (b) A + A = 213

Answered: 1 week ago