JAVA project

Description

Dears GreetingsRegarding to this project ,Kindly Any AI Tools is not allowed as the university will be marking to zero .preferred to add an arabic names as reference to this project

Don't use plagiarized sources. Get Your Custom Assignment on
JAVA project
From as Little as $13/Page

Unformatted Attachment Preview

College of Computing and Informatics
Object Oriented Programming
DS230
Project
DEADLINE: DAY 04/12/2023 @
Student Details:
CRN:
23:59
Name:
Name:
Name:
ID:
ID:
ID:
Instructions:
You must submit two separate copies (one Word file and one PDF file) using the Assignment Template on
Blackboard via the allocated folder. These files must not be in compressed format.
It is your responsibility to check and make sure that you have uploaded both the correct files.
Zero mark will be given if you try to bypass the SafeAssign (e.g. misspell words, remove spaces between words,
hide characters, use different character sets, convert text into image or languages other than English or any kind
of manipulation).
Email submission will not be accepted.
You are advised to make your work clear and well-presented. This includes filling your information on the cover
page.
You must use this template, failing which will result in zero mark.
You MUST show all your work, and text must not be converted into an image, unless specified otherwise by the
question.
Late submission will result in ZERO mark.
The work should be your own, copying from students or other resources will result in ZERO mark.
Use Times New Roman font for all your answers.
Pg. 1
Description and
InstructionsDescription and
Description and Instructions
Part 1:
(5 Marks)
Write a complete Java program that allows users to enter two integer numbers
as follows:
Upon providing the two integer numbers, the users should be given a list of
operations to select from, as follows:
Based on the users’ selection, a method should be called to perform the
selected operation and return the result. After that the main method should
print the result. The output of the program should be as follows:
Pg. 2
Description and
InstructionsDescription and
Description and
InstructionsDescription and
Pg. 3
Part 2:
(9 Marks)
1)Create a class Student according to the following requirements:
a) A student has four attributes: id, name, GPA and major.
b) Add the default constructor (no parameters).
c) Add a constructor with four parameters to initialize all the attributes
by specific values.
d) Add all the required setter methods
e) Add all the required getter methods
f) Add the method changeMajor
2) Create a Driver class. that has the main method, in which:
a) Create a student object (obj1), provide all values for the class
attributes.
b) Create another student object (obj2), provide all values for the class
attributes.
c) Print the values of obj1 and obj2 fields.
d) Change the major for obj1.
e) Change the major for obj2.
f) Print the values of obj1 and obj2 fields.

Purchase answer to see full
attachment