Answer:
Explanation:
The following code was written in Java. The code contains the Employee class which contains the two variables (name, salary), the constructor, getter and setter methods for both variables, and an overwritten toString method. It also contains a tester class with the main method inside and creates a Employee object and initializes it. Then it calls the toString method. The output can be seen in the attached image below. Due to technical difficulties I have added the code as a txt file below.
The answers are 1, 3, and 5.
Answer: The difference present between the packet switching and circuit switching are as follows:-
- Packet switching i the switching in which the data packet travels through the connectionless path whereas connection oriented routes are present for circuit switching
- Network layer uses the feature of packet switching while physical layer uses circuit switching technique
- Data transferring is mostly preferred through packet switching and voice communication takes place through the circuit switching.
- Packet switching is considered flexible as no already established connection is present for switching but the connection in circuit switching are already defined which makes it less flexible.
Among the packet switching and circuit switching , packet switching is preferred for the communication through the data packets because they have flexibility and affordability.It can establish numerous connection for switching and this make it efficient.
import math
print(math.pow(8, 0.5))
You can find the square root of any number by squaring it by 0.5