Given the following method

```
static void nPrint(String message, int n) {
while (n > 0) {
System.out.print(message);
n--;
}
}
```
What is the output of the call nPrint('a', 4)?
a. aaaaa
b. aaaa
c. aaa
d. invalid call


d. invalid call
Invalid call because char 'a' cannot be passed to string message

Computer Science & Information Technology

You might also like to view...

Choosing ____ means that each subsequent frame will contain the next object in the blend.

A. Build B. Sequence C. Pull D. Fill

Computer Science & Information Technology

The_______ is a measure of a computer's ability to display intelligent behavior

a.Analytical Engine b.Artificial intelligence c.Bernoulli numbers program d.Turing test

Computer Science & Information Technology

The central principle of the design method is to provide the client with more than one concept

Indicate whether the statement is true or false

Computer Science & Information Technology

Laws, policies, and their associated penalties only provide deterrence if three conditions are present. List and describe them.

What will be an ideal response?

Computer Science & Information Technology