Digital literacy is the term for having knowledge of computers, internet, mobile devices and related technologies.
Answer:
The name of a .java file should <u>always match the name of the class inside.</u>
Explanation:
In Java programming the program written in code editor is first saved with .java extension. The name of this .java file should be same as that of the class declared inside the file.
This .java file is then compiled and converted to .class file which contains the java bytecode. This bytecode can then be executed by java virtual machine(JVM).
However it is not always necessary that name of .java files should be same as that of class inside it. The name should be same only when the class inside is declared as public.
In case it is not declared as public one can name .java file different than the actual class name.
#Python
hasempty = False
for name in names:
if ( not name ):
hasempty = True
break # speed things up
Answer:
Auto-negotiation protocol is the modern technology in the networking. This protocol allow the ethernet equipment for automate different instillation steps. This type of protocol use by interconnecting various electronic devices for negotiating the speed of the link.
Advantages:
- The auto negotiation protocol features used to maximize the throughput of data link layer.
- This protocol are basically useful in the local area network (LAN), with multiple capability of connections.
- The auto negotiation protocol extremely useful in twisted pair which are based on ethernet.
Disadvantages:
- This type of protocol are not fixed data links and not used as backbone of the networks.
- Duplex mismatch occur then, it cause significant loss in the packets.