Examlex

Solved

How Many Times Will the Following Method Call Itself,if 10

question 10

Multiple Choice

How many times will the following method call itself,if 10 is passed as the argument? public static void message(int n)
{
If (n < 0)
{
System.out.println("Print this line. \ n") ;
Message(n + 1) ;
}
}


Definitions:

Related Questions