Answer:
public class Main
{
public static void printString(String strText, int intNumber) {
for(int i=0; i<intNumber; i++){
System.out.println(strText);
}
}
public static void main(String[] args) {
printString("Brainly", 3);
}
}
Explanation:
- Define a function called <em>printString</em> that takes two parameters - a String and an int. Since the function will print out the given String, it's type will be <u>void</u>.
- Use <em>for loop</em> to iterate according to the given number and print the given string
- In the main, call the <em>printString </em>function with some parameters.
Answer:
printStars(35);
Explanation:
public class Question {
public static void main(String args[]) {
printStars(35);
}
public static void printStars(int numberOfStars){
for(int i = 1; i <= numberOfStars; i++){
System.out.print("*");
}
System.out.print("\n");
}
}
Dynamic Host Configuration Protocol, also known as DHCP.
The answer for the blank space given in the question is a type of arrow called four-headed arrow.
Four-headed arrow can be found in many computer software and applications, including in Microsoft Excel. Generally, <u>it is used to move an object from one place to another.</u> In the given scenario described at the question, it is used to move a cell from one location to another.