Answer:
True
Explanation:
Given statement will execute without any compilation error because pointer to derived class can hold address of object of base class if typecasting is done(and here typecasting to derived class is done).
Answer:
Following are the complete code to this question:
import os #import package
def parent_directory():#defining a method parent_directory
dir = os.getcwd()#defining dir that stores the getcwd method value
relative_parent = os.path.join(dir) #defining relative_parent variable that uses join method to adds directory
return os.path.dirname(relative_parent)#use return keyword to return directory name
print(parent_directory())#use print method to call parent_directory method
Output:
/
Note:
This program is run the online compiler that's why it will return "/"
Explanation:
In the given Python code, we import the "os" package, after that a method "parent_directory" is defined, which uses the dir with the "getcwd" method that stores the current working directory.
- After that "relative_parent" variable is declared, which uses the join method to store the directory value and use the return keyword to returns its value.
- In the next step, the print method is used, which calls the method.
Answer:
works by combining large amounts of data. interative process and intelligent algorithms.
Explanation:
Hi there!
The answer is C. Client/server networks do not typically require a network administrator. A server needs a network administrator to monitor and control what it is doing in order for it to run.
-Your friend in tech, <span>ASIAX </span><span> </span><span>Frequent Answerer</span>