235k views
5 votes
What could be the correct invocation of a function named getNum() that takes one argument?

User Gython
by
7.3k points

1 Answer

3 votes

Answer: getNum(5) or getNum(3.14) are some examples!

Step-by-step explanation:

Assuming that getNum() takes one argument (a floor OR int) -> getNum(x), so they are many ways we can wrote this

User Susaj S N
by
7.4k points