CSIS 212 Programming Assignment 6 Date Class

$18

Description

CSIS 212 Programming Assignment 6 Date Class

Exercise 7.13 JHTP (Date Class): Create a class called Date that includes 3 instance variables—a month (type int), a day (type int), and a year (type int). Provide a constructor that initializes the 3 instance variables and assumes the values provided are correct. Provide a set and a get method for each instance variable. Provide a method displayDate that displays the month, day, and year separated by forward slashes(/). Write a test application named DateTest that demonstrates class Date’s capabilities.

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Add to cart