Answer:
Network
Explanation:
As we know that switches create a network and routers connect networks. The two pieces of equipment look similar and perform some similar functions, but each has its own distinct function to perform on a network.
So, the first option <u>Netw</u><u>ork</u> is the correct answer.
Answer:
class Cat:
isHungry = None
play = Cat().isHungry = True
eat = Cat().isHungry = False
if play:
print("I am hungry, I cannot play")
else:
play = Cat().isHungry = False
if eat:
print("I am full, I cannot eat")
else:
eat = Cat().isHungry = True
Explanation:
Just simple if and else statements.
Answer:
The answer to this question is Java,C++.
Explanation:
We can assign non static final variables a value with the declaration or in the constructor but this is not the case with c++ because we have to assign value during declaration and c++ equivalent of final is const keyword and there is sealed or readonly keywords in c# not final.If we do not assign value at the time of declaration the const variable will contain garbage value which cannot be changed afterwards.