Write a method called maxOfTwo that accepts two integer parameters and returns the larger of the two.
What will be an ideal response?
```
public int maxOfTwo(int num1, int num2)
{
int result = num1;
if (num2 > num1)
result = num2;
return result;
}
Note that the method Math.max also performs this function.
```
You might also like to view...
If your query does not include the WHERE keyword, the query will return all records from the table
Indicate whether the statement is true or false
Match the following tools with their uses
1. The most notable early hacking group a. Plovernet 2. One of the first hacking boards, popular on the West Coast b. Legion of Doom 3. East Coast hacking board that became a breeding ground for hacking groups c. ALTOS 4. The epitome of sophisticated international hacking, originally formed in Germany d. 414 Private 5. Group of teenage hackers who hacked into the Los Alamos military computers in the early 1980s e. 8BBS