Answer:
a. Object cannot be converted to Person
Explanation:
This program demonstrates polymorphism.
e.g., a Student IS a Person therefore you can call m() with a Student as well as a Person object.
The same goes for GraduateStudent.
However, and Object is not a Person, so the last call fails. This can be deducted by the type checking that happens at compile time.
Answer:
Explanation:
The range() function is a built-in function in the Python programming language. In the following code, we will use this function to iterate over all the positions in the array called user_names and add them to the list g. (assuming that is what was meant by modifying the list g)
for i in range( len(user_names) ):
g.append(user_names[i])
This simple 2 line code should do what you are asking for.
Answer:
The correct answer is "B. to apply general formatting rules".
Explanation:
HTML is not a programming language, it is better defined as a hypertext marker which needs a program or a web browser to interpret and make it run. The proper meaning of its initials is "HyperText Markup Language". That is why letter B is the correct answer, because general formatting rules may be applied to the use of HTML as it is used through programming in a variety of languages, such as Java or JavaScript, and more.
The answer to your question, is true
hope this helps :D