Examlex

Solved

We Want to Create a Class That Represents a Date

question 71

Multiple Choice

We want to create a class that represents a date. A date has a day, month, and year. For example, the date March 16, 2014 has the day 16, month 3, and year 2014. The basic framework of a date class is below: public class Date
{
Private int day;
Private int month;
Private int year;
}
What should the body of the constructor be?


Definitions:

Lingual Frenulum

A small fold of mucous membrane that extends from the floor of the mouth to the midline of the underside of the tongue.

Buccinator Muscle

A facial muscle that acts to press the cheeks against the teeth and is used in actions such as blowing and chewing.

Connective Tissues

Tissues that support, bind together, and protect organs, including bone, cartilage, tendons, and fat.

Lymphatic Tissues

Parts of the immune system comprised of clusters of lymphocytes and other cells, such as lymph nodes and the spleen, that help protect against pathogens.

Related Questions