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: 0.1937
Explanation:
Given : A bowl contains 20 candies; 15 are chocolate and 5 are vanilla.
If we select 5 candies, then the number of ways to select them is given by permutations.
The number of ways to select 5 candies is given by :-

The number of ways of selecting any 5 candies out of 20:-

Now, the probability that all 5 are chocolate :-

Hence, the probability that all 5 are chocolate =0.1937
I guess the correct answer is Authentication.
The process of granting a user access to an application is called Authentication.
Answer:
The VLookup checks a value inside a table through matching over the 1st column.
Lookup a value in a table by matching on the first column and the matched value is returned from the table.
Explanation:
The formula for the VLOOKUP is
=VLOOKUP (value to be matched in the first column, table from which the value will be looked for, col_index is the column inside the table from where the value is fetched, [range_lookup] is true for the approximate match, and false for exact match)
Yes
Because the x bigger than the y