Answer:
import java.util.Scanner;
public class num5 {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
System.out.println("Enter one the numbers - 1, 2, or 3.");
int num = in.nextInt();
switch (num){
case 1:
System.out.println("one");
break;
case 2:
System.out.println("two");
break;
case 3:
System.out.println("three");
break;
default:
System.out.println("Error");
}
}
}
Explanation:
- Using Java Programming Language
- User Scanner Class to prompt, receive and store user's input
- Use a switch statement with three cases as required by the question to output one, two or three
- Use the default statement to handle any other case
The general size of a brochure is 8.5x11 when open or flat. Typically they are broken into three segments though!
There is a set amount of energy in the universe and you cannot destroy or create energy.
Answer:
Following are the difference to this question:
Explanation:
IPv4:
The
is uses the packet changed method, that is a Link Layer networks(like Ethernet). It has 4.3 billion addresses capacity. It uses the 32-bit logical device address, that written in decimal language.
It is divided by 4 bytes E.g. 192.168.1.1
The host part and network part are 2 parts. For a network, the host part may vary, while for the entire subnet, the network part remains equal.
The scheme of 232 addresses is available on application depends on security.
IPv6:
The IPv6 is used in the internet protocoland it is higher than IPv4. It can provide endless number Opf addresses, and use to solves the problem of IPv4 exhaustion and satisfies the demand for rising networking.
IPv4 Substitutor Built to meet more IP address requirements. In the Logical address of 128-bit Written hexadecimally and with colons divided, and the Space of 128 addresses are required. IPsec is an integrated security feature.