Answer:
public static double areaSum(Circle c1, Circle c2){
double c1Radius = c1.getRadius();
double c2Radius = c2.getRadius();
return Math.PI * (Math.pow(c1Radius, 2) + Math.pow(c2Radius, 2));
public static void main(String[] args){
Circle c1 = new Circle(6.0);
Circle c2 = new Circle(8.0);
areaSum(c1,c2);
}
Explanation:
you prob need to fix your data or redownload it again
Answer:
Option (B) and (C) is the correct option to the following question.
Explanation:
Because the function is the module of the program and we call that function again and again anywhere whenever we need that function in the program.
Function is used to carry out any operation which is used in the program many times and it creates the program short and simple.
<u>For example</u>: if we need to add or multiply two numbers many times in the program then, we create one or two functions for addition and subtraction or one program for both, when we need them we call them.
Answer:
B. UDP 67
C. UDP 68
Explanation:
In this scenario, after a new firewall is installed, users report that they do not have connectivity to the Internet. The output of the ipconfig command shows an IP address of 169.254.0.101. The ports that would need to be opened on the firewall to allow the users to obtain an IP address are both the UDP 67 and UDP 68. UDP is an acronym for user datagram protocol in computer networking and it is part of the transmission control protocol/internet protocol (TCP/IP) suite.
Generally, the standard Internet communications protocols which allow digital computers to transfer (prepare and forward) data over long distances is the TCP/IP suite.
Also, the UDP 67 and 68 ports is responsible for the connectionless framework which is typically being used by the dynamic host configuration protocol (DHCP) that is used to assign IP addresses to various computer users and manage their leases.
UDP 67 is the destination port for a DHCP server while the UDP 68 is the port number for the computer user (client).
<em>Hence, for the users to have access to the internet or internet connectivity both UDP 67 and 68 must be opened on the firewall. </em>