Answer:
The fields of the IPv4 header change from router to router is:
- No Fragmentation - TTL, checksum(due to TTL).
- Fragmentation - Total length field, fragment M bit.
Explanation:
TTL - TTL stands for Time-TO-Live, it is important in an IP(Internet Protocol) packets that says a network router if or not the packets have been in the network so lengthy and should be rejected.
Fragmentation - It is done through the network layer when the mostly size of data-gram is higher than max size of data that can held a frame.
It is done through the network layer at the end side and is generally done at routers.
Answer:
"void" is the correct answer for the given question.
Explanation:
In the function body the value of balance variable is not return that means we use void return type .The void return type is used when the function does not return any value .
If the function are int return type that means it return "integer value ".
if the function are double return type that means it return the "double value" .
The complete implementation of this method is
public void deposit(double amount) // function definition
{
balance = balance + amount; // statement
}
import datetime
name = input("What is your name? ")
age = int(input("How old are you? "))
year = datetime.datetime.today().year
print("Hello {}! You were born in {}.".format(name, year - age))
I hope this helps!