Devam Ediyor

500713 An Event Class with Time and Date Objects

1. Create a project which consists of three classes: an Event class, a Time class, and a Date class.

2. The Event class should have data members that are objects of the Time and Date class.

3. Extend the code for the Event and Time classes given in the lecture notes to include all necessary function and constructor implementation code.

4. Design a Date class, which has three data members to represent the year, month, and the day.

5. Date-class member functions should be able to:

• Set the date,

• Return the date,

• Print the date, and

• Add a default constructor and a constructor with parameters.

6. Construct the main method so that it can test the member functions of each of the classes by creating an Event object and then performing the necessary operations to test all possible behavior.

Beceriler: Her şey Kabul, PHP

Daha fazlasını görün: the time, date, time class, create event, object function method, object method, design objects, event method, function time, code event, day php date, add event, create objects, class event project, create date, add event code, creating classes, php create class, lecture notes php, date day, class design, set event, php lecture notes, objects, time date

İşveren Hakkında:
( 0 değerlendirme ) San Diego,

Proje NO: #2246634