Answer:
import java.util.Scanner;
public class DashLine {
public static void main(String[] args) {
// Declaring variables
int n;
/*
* Creating an Scanner class object which is used to get the inputs
* entered by the user
*/
Scanner sc = new Scanner(System.in);
// Getting the input entered by the user
System.out.print("Enter a number :");
n = sc.nextInt();
// calling the method by passing the user entered input as argument
dashedLine(n);
}
//This method will print the dashed line for number greater than zer
private static void dashedLine(int n) {
if (n > 0) {
for (int i = 1; i <= n; i++) {
System.out.print("-");
}
System.out.println();
}
}
}
Explanation:
Answer:
By Using WSUS(Windows Server Update Service).
Explanation:
Windows Server Update Services server (WSUS):-It was previously known as SUS(Software Update Services).It is a repository that is central on the same network on which we are present.It downloads and maintain latest updates for the computer from the Microsoft update server.
Answer:
BGP neighbors are defined by an IP address. BGP uses TCP port 179 to communicate with other routers.
Answer:
Turning your phone on low battery mode
Explanation: