Answer:
public static int greaterThanInt(int n){
return n+10;
}
Explanation:
This is a very simple method in Java. it will accept an argument which is an integer n and return n+10 since the question requires that an arbitrary integer greater than n be returned adding any int value to n will make it greater than n.
A complete java program calling the method is given below:
<em>import java.util.Scanner;</em>
<em>public class ANot {</em>
<em> public static void main(String[] args) {</em>
<em> Scanner in = new Scanner(System.in);</em>
<em> System.out.println("Please enter an integer");</em>
<em> int n = in.nextInt();</em>
<em> int greaterInt = greaterThanInt(n);</em>
<em> System.out.println("You entered "+n+", "+greaterInt+" is larger than it");</em>
<em> }</em>
<em> public static int greaterThanInt(int n){</em>
<em> return n+10;</em>
<em> }</em>
<em>}</em>
Answer:
The answer is reflective DNS attack
Explanation:
Reflective DNS Attack is used in many distributed DDoS attacks to knock down an internet pipe. The attack is divided in two stages: first the attacker sends lots of requests to one or more legitimate DNS servers while using spoofed source IP of the target person, and then, in the second stage, the DNS server receiving the semi-legitimate requests replies to the spoofed IP, thereby unknowingly lauching an attack on the target computer with responses to requests never sent by the victim.
The correct answer would b (C) because all the other ones are not on the list