Answer:
The code will be a java-script code
Explanation:
public abstract class Phone{
private String phoneNumber ;
public Phone (String thePhoneNumber) {
phoneNumber = thePhoneNumber ;
}
public String getPhoneNumber ( ) {
return phoneNumber ;
}
public String toString ( ) {
phoneNumber = "# (" + phoneNumber + ") " ;
return phoneNumber ;
}
public abstract boolean createConnection (Network status) ;
public abstract void closeConnection( ) ;
}
Answer:
False
Explanation:
This is False because when the computer shuts off completely all the data in the ram is deleted
Answer:
Star Topology
Explanation:
Star network topologies are common in home networks, where the central connection point may be a router, switch, or network hub. Unshielded Twisted Pair (UTP) Ethernet cabling is typically used to connect devices to the hub, though coaxial cable or optical fiber may also be employed.
Answer:
def recursive(L, start, stop):
y = L[start:stop]
print(y.isupper())
recursive("ALLow", 0, 3)
Explanation:
The code is written in python.
def recursive(L, start, stop):
The function is defined known as recursive. The function takes a string and 2 integers known as start and stop. The parameter L is a string and the other 2 parameter start and stop are integers which indicates the index range of the string L.
y = L[start:stop]
A variable y is declared to store the string L with the index range from start to stop . Note start and stop are integers.
print(y.isupper())
The code prints True if the index range of the string L are all upper case else it print False.
recursive("ALLow", 0, 3)
This code calls the function with the required parameters L(string), Start(integer) and stop(integer)