Answer:
To obtain VLAN information from directly connected switches. To determine the status of network services on a remote device. To determine the status of the routing protocols between directly connected routers .
Explanation:
Answer:
Hi there Rumanruxi! The error is in the if statement "if(userNum = 2)".
Explanation:
The if statement in this Java code is assigning userNum the value of 2 instead of comparing it with the value of 2. For equals comparison we need to write two equals "==" in the statement as: "if (userNum == 2)". This will return true if userNum is 2 otherwise it will return false.
The command is more.
hope this helps.