Matter is made up of extremely tiny particles called atoms and molecules. Atoms and molecules make up the three common states of matter on Earth—solids, liquids, and gases. The particles of a liquid are attracted to one another, are in motion, and are able to move past one another.
<em>-</em><em> </em><em>BRAINLIEST</em><em> answerer</em>
Answer:
The following types of network protocols are explained below as:
TCP: TCP stand for the transmission control protocol and it is used for the interconnect various types of network devices on internet. The TCP is the type of protocol that is used for communication in the particular private network and it is also known as intranet.
UDP: UDP stand for the use data gram protocol and it is the simplest and the connection less protocol. On the other hand, TCP is the connection oriented internet protocol. By using the UDP, we can easily sent multiple message in the form of packets.
IP: IP stand for the Internet protocol and it is used as the internet address protocol for assigning the connection between the each device in the network. The main function of the IP is that it used for locating the address in the system.
ICMP: ICMP stand for the internet control message protocol and it is the main integral part of the IP. The ICMP is the error detecting internet protocol in the network devices. It is one of the important networking security in the system.
Answer:
Your program would run without error if you declared the first and second string variables before using them:
Modify the following:
first=input.nextLine();
second=input.nextLine();
to:
String first=input.nextLine();
String second=input.nextLine();
Explanation:
Required
Program to print two strings in forward and reversed order
<em>The program you added is correct. The only thing that needs to be done is variable declarations (because variables that are not declared cannot be used).</em>
<em></em>
So, you need to declared first and second as strings. This can be done as follows:
<u>(1) Only declaration</u>
String first, second;
<u>(2) Declaration and inputs</u>
String first=input.nextLine();
String second=input.nextLine();