Find Jobs
Hire Freelancers

Student file in Java

$30-5000 USD

In Progress
Posted over 21 years ago

$30-5000 USD

Paid on delivery
Create a new, user-defined class named 'Student' in a file named '[login to view URL]'. This class will have instance variables named 'id' and 'courses', one constructor which creates a student with default values for id and courses, a second constructor which accepts values from the user, and methods named 'addCourse', 'dropCourse', and 'toString'. Method 'addCourse' increments the variable courses by one. Method 'dropCourse' decrements the courses of the Student by one. Method 'toString' displays the details of the student. Any numeric variables required by your program should be of type 'int'. The program should create two student objects. 1. Using default values and display its details. 2. prompt the user for id and courses values. After the user enters the values and presses the return key, your program should display the student details. 3. Call methods addCourse and dropCourse on both objects and again display details. NOTES: You will actually create two java programs, one named '[login to view URL]', and one named '[login to view URL]'. The first program is the test or "driver" program. The second program contains the Student class. You will also need to use the methods [login to view URL](), and [login to view URL](); ## Deliverables 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request. 3) Complete ownership and distribution copyrights to all work purchased. Java source code ## Platform I am using a VI editor for the Java program source code.
Project ID: 2875489

About the project

7 proposals
Remote project
Active 22 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
See private message.
$12 USD in 14 days
5.0 (43 reviews)
4.8
4.8
7 freelancers are bidding on average $11 USD for this job
User Avatar
See private message.
$8.50 USD in 14 days
5.0 (18 reviews)
5.4
5.4
User Avatar
See private message.
$12.75 USD in 14 days
4.4 (12 reviews)
3.5
3.5
User Avatar
See private message.
$8.50 USD in 14 days
5.0 (2 reviews)
2.9
2.9
User Avatar
See private message.
$10.20 USD in 14 days
5.0 (5 reviews)
2.4
2.4
User Avatar
See private message.
$10.20 USD in 14 days
0.0 (0 reviews)
0.0
0.0
User Avatar
See private message.
$16.15 USD in 14 days
0.0 (1 review)
0.0
0.0

About the client

Flag of UNITED STATES
United States
5.0
8
Member since Feb 28, 2002

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.