printStars is a method that accepts a single int argument and returns no value. It prints as many stars as indicated by its argument. Given a variable x of type double that has been given a value, write a statement that invokes printStars passing x as an argument. Assume that printStars is defined in the same class that calls it.

Respuesta :

Answer:

Incorrect question. You might want to review it.

Explanation:

printStars is a method that accepts a single int argument but the variable x that will be passed into the method during its call is of type double. Hence, there is going to be an error.

Hope this helps!