Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Java course, Have the main ideas for most, but just need some refresher help. Question 1: Coding Conditional Write a complete method that determines if

Java course, Have the main ideas for most, but just need some refresher help.

Question 1: Coding Conditional

Write a complete method that determines if someone is eligible for a loan based on their income and work experience (in terms of number of years at current job). The rules are the following: if income is > 150,000, the person is eligible. If income is < 50,000, the person is ineligible. If the person is between these ranges, they must have more than 2 years at their current job in order to be eligible.

Question 3: Computer Part A

Write a complete class that represents a computer. A computer is described by the brand (e.g., HP, Apple), name (e.g., Lenovo, iMac), and the size of memory (e.g., 1TB, 128GB).

Include the class header, instance data variables, at least two constructors, getters setters, and toString.

Question 4: Computer Part B

Write an equals method for the Computer class described above.

Question 5: Computer Part C

Write code that would go in a driver program. Create some computer objects and invoke methods to demonstrate that the class works. Print a text representation of at least one object to the console.

Question 6: UndergraduateStudent Class

Write a class called UndergradateStudent that inherits from the Student class described in the lecture notes and provided in the M1LectureCode.zip.

An undergraduate student is a student that also has instance data to represent whether or not tuition is paid. Write the class header, a constructor, appropriate getters and setters, and an updated toString method.

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

Databases And Information Systems 1 International Baltic Conference Dbandis 2020 Tallinn Estonia June 19 2020 Proceedings

Authors: Tarmo Robal ,Hele-Mai Haav ,Jaan Penjam ,Raimundas Matulevicius

1st Edition

303057671X, 978-3030576714

More Books

Students also viewed these Databases questions

Question

LO5 Illustrate the steps in developing a base pay system.

Answered: 1 week ago

Question

LO3 Outline strategic compensation decisions.

Answered: 1 week ago