Provide a method displaydate that displays the month day


(Date Class) Create a class called Date that includes three instance variables-a month (type int), a day (type int) and a year (type int). Provide a constructor that initializes the three instance variables and assumes that 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 app named DateTest that demonstrates class Date's capabilities.

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: Provide a method displaydate that displays the month day
Reference No:- TGS01623650

Expected delivery within 24 Hours