17) Rewrite the following method using the this parameter.
What will be an ideal response?
```
public void setDay(int d)
{
//Valid days in a date are the integers 1 - 31
if((d >= 1) && (d <= 31))
day = d;
}
public boolean setDay(int day)
{
if((day >=1) && (day <= 31))
{
this.day = day;
return true;
}
else
{
return false;
}
}
```
You might also like to view...
Compressing a file decreases the file size.
Answer the following statement true (T) or false (F)
Sam would like to install a new application on every computer in his SOHO network. All the computers are currently connected in a workgroup. What is the easiest way for Sam to install the application on all the computers?
A. Have a USB device for every computer. B. Have multiple copies of the software on a DVD. C. Go to the Windows Store and install the software on each computer. D. Use a network share to share the installation files.
As documents that exceed one page are typed, Word automatically inserts page breaks like those in the accompanying figure, called ____________________, when it determines the text has filled one page according to paper size, margin settings, line spacing, and other settings.
Fill in the blank(s) with the appropriate word(s).
A help desk provides a single point of contact for computer users in need of support.
Answer the following statement true (T) or false (F)