So zeigen Sie die gleiche Anweisung mehrmals in Java an
public void recursiveMe(int n) {
if(n <= 5) {// 5 is the max limit
System.out.print("_");//print n
recursiveMe(n+1);//call recursiveMe with n=n+1
}
}
recursiveMe(1); // call the function with 1.
AA Exoticz