Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Assignment 6 CS210.03 Spring 2017 Due Monday April 24th @ 7pm Assignment 6 consists of practicing creating classes and using objects. You are required to

Assignment 6

CS210.03

Spring 2017

Due Monday April 24th @ 7pm

Assignment 6 consists of practicing creating classes and using objects. You are required to create two new classes: Student and Date. These two classes will have the following fields: Student:

-String name

-int id

-Date birthdate Date:

-int month

-int day

-int year

Both classes will have a constructor that takes arguments to set the intial values for each of their fields. Both classes will have a method titled toString that returns a String in the following format:

Student.toString() returns:

:

Birthdate: Student ID:

Date.toString() returns:

//

Write a simple main method in your public class that creates a new student object and prints the object in the correct format.

Sample output is as follows:

~/Desktop java A6 tyler

Student ID: 1001

Birthdate: 9/23/1994

~/Desktop

Deliverables:

You may work in groups of two for this project. Submit a compressed (.zip) folder to the iLearn submission link for assignment 2. The folder will contain two files: your java code, and a writeup, in PDF format, stating what you did, who (if anyone) your partner was, any difficulty you had, and what you learned.

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

Beginning VB 2008 Databases

Authors: Vidya Vrat Agarwal, James Huddleston

1st Edition

1590599470, 978-1590599471

More Books

Students also viewed these Databases questions

Question

How do Excel Pivot Tables handle data from non OLAP databases?

Answered: 1 week ago