Ask Question

PrintErrorDescription is a function that accepts one int parameter and returns no value. Write a statement that calls the function printErrorDescription, passing it the value 14.

+2
Answers (1)
  1. 6 June, 20:33
    0
    public static void main (String[] args) { printErrorDescription (14); } public static void printErrorDescription (int value) { / /some codes }

    Explanation:

    Given a function printErrorDescription () with one parameter (Line 5 - 7). To call the function, we can write the function name and place the value of 14 within the parenthesis (Line 2). The value of 14 is a function argument. The value of 14 will be processed within the function to meet some purposes.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “PrintErrorDescription is a function that accepts one int parameter and returns no value. Write a statement that calls the function ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers