Display a date MM/DD/YY

What will be an ideal response?

```
ostream& operator<< (ostream& os, const Date& date)
{
os << date.getMonth() << "/" << date.getDay() <<"/" << date.getYear();
return os;
}

```

Computer Science & Information Technology

You might also like to view...

Generally two speeds are associated with an Internet connection, but the one most home users are concerned with is the ________

Fill in the blank(s) with correct word

Computer Science & Information Technology

Which of the following statements is false?

a. A catch block declares a type and an exception parameter name. b. Inside the catch block, you can use the parameter’s name to interact with a caught exception object. c. When a program is executed, array element indices are checked for validity—all indices must be greater than 0 and less than or equal to the length of the array. d. If an attempt is made to use an invalid index to access an element, an ArrayIndexOutOfBoundsException exception occurs.

Computer Science & Information Technology