Answer:
Explanation:
Since there are no line numbers in this question I will start counting from public class SelectionSort{ as line 1 and so on, as well as provide the code on that line.
The index of the smallest value is returned on line 8 where it says return min which shouldn't have any spaces and should be return minPosition;
The input array is given as an argument at the beginning of the function on line 2 where it says private static int positionMin (int] vals, int startPosition) {, as the variable vals.
This input array is also used as an argument on line 10 where it says Position; private static void swap(int] vals, int firstPosition, int secondPosition) and line 15 where it says vals[secondPosition] temp return public static void selSort(int| vals) {
Answer:
below is a Shell I have ;
1.Import java.nio.file.*;
2.Import java.nio.file attribute.*;
3.Import java.10 Exception;
4.public class FileStatistics
5.{
6.public static void main(string []args)
7.{
8.path file=
9.
paths.get("C:\\Java\\chapter.13\\TestData.txt")
10.try
11.{
12.\\declare count and then display path, file, name and folder name.
13.
14.
15.
16.\\declare a BasicFileAttributes object, then add statements to display the file's size and creation time.
17.
18.}
19.
20.catch (10 Exception e)
21.{
22.\\add display 10 Exception
23.
24.}
25.}
Answer:
User Datagram Protocol (UDP) , transport-layer segment.
Explanation:
The User Datagram Protocol is popularly known as UDP. It is defined as the communication protocol which is used across the internet for any time sensitive transmission like the DNS lookup or the video playback.
The UDP provides a unreliable and connectionless service to a invoking application.
The transport layers on sending side converts the application messages which it from the into a transport layer segment called as the transport layer segments. This is achieved by breaking down the application messages into a smaller chunks and then adding the transport layer header into each chunk so as to create a transport layer segment.
The answer is B because being victims of online abuse is not important