Answer:
public static String repeat(String text, int repeatCount) {
if(repeatCount < 0) {
throw new IllegalArgumentException("repeat count should be either 0 or a positive value");
}
if(repeatCount == 0) {
return "";
} else {
return text + repeat(text, repeatCount-1);
}
}
Explanation:
Here repeatCount is an int value.
at first we will check if repeatCount is non negative number and if it is code will throw exception.
If the value is 0 then we will return ""
If the value is >0 then recursive function is called again untill the repeatCount value is 0.
Answer:
by signing into the wifi network they have
Explanation:
Its TRUE firewalls filters traffic
Firewall is a network security system that monitors and controls incoming and outgoing network traffic based on predetermined security rules.Firewall typically establishes a barrier between a trusted internal network and untrusted external network such as the internet.
The answer is (C),
The width and height of the table
When formatting a table, for instance, you may want the
columns to have similar width without interrupting the width of the table. If you
are using Microsoft word 2000, 2002 or 2003, you should select the table itself;
choose Table option, Autofit, and then select Distribute columns evenly. If
using word 2007 and Later, you should select the table and this will display
the Layout tab. Click the Distribute Columns option tool.