<h2>
Answer:</h2>
// Class declaration
public class Printer {
  
    // Define the function and call it printMany
    // The return type is void since it doesn't necessarily return any value.
    // It just prints to the console.
    // It takes two arguments strText of type String and
    // intNumber of type int.
    public static void printMany(String strText, int intNumber){          
 
        // Initialize the loop counter i to 1;
        int i = 1;
       // Create a while loop that goes
       // from <em>i = 1</em> to  <em>i = intNumber</em>.
       // Where intNumber is the number of times the string strText 
       // will be printed.
        while(i <= intNumber) {
            
            
// At each of the cycle of the loop;
            // print out the string strText
            // and increment the value of the loop counter by 1
            System.out.println(strText);
            i++;
        }                 // End of while loop
    }               // End of method, printMany, declaration
// Write the main method to call the printMany function
 public static void main(String[] args) {
        // Call the printMany function by supplying sample arguments;
        // In this case, strText has been given a value of "Omobowale"
        // And intNumber has been given a value of 4
        // Therefore, "Omobowale" will be printed 4 times.
        printMany("Omobowale", 4);
    }            //  End of main method
}          // End of class declaration
<h2>Sample Output:
</h2>
<em>When the program above is run, the following will be the output;</em>
<em>----------------------------------------------------</em>
Omobowale
Omobowale
Omobowale
Omobowale
-------------------------------------------------------
<h2>
Explanation:</h2>
Comments:
* The above code has been written in Java
* The code contains comments explaining every part of the code. Kindly go through the comments.
The whole code without comments is re-written as follows;
public class Printer {      
    public static void printMany(String strText, int intNumber){    
        int i = 1;
        while(i <= intNumber){
            System.out.println(strText);
            i++;
        }
    }      
    public static void main(String[] args) {
        printMany("Omobowale", 4);
    }
}