Answer the following statements true (T) or false (F)
1. Polymorphism allows you to command a wide variety of objects of types related by inheritance as long as you know the objects’ types.
2. The use of polymorphism helps promote software extensibility.
3. Abstract methods and properties do not provide an implementation.
4. Concrete classes provide implementations for at least one of the methods and properties they define.
5. You may define implementations for abstract methods to act as a default
1. False. Polymorphism allows you to command a wide variety of objects of types related by
inheritance even if you do not know the objects’ types.
2. True.
3.True.
4. False. Concrete classes provide implementations for every method and property they define.
5. False. Attempting to provide an implementation for an abstract method is a syntax error.
You might also like to view...
Select all that apply. Which of the following are IDEs that allow you to create GUI elements visually without writing any code?
a. Notepad++ b. Microsoft Visual Studio c. NetBeans d. JBuilder
Which of the following statements is false?
a. Executing a break statement in a while or for immediately exits that state-ment. b. The following snippet produces the integer sequence 0 1 2 3 4 5 6 7 8 9. for number in range(100): if number == 10: break print(number, end=' ') c. The while and for statements each have an optional else clause that exe-cutes only if the loop terminates normally—that is, not as a result of a break. d. The following code snippet produces the sequence 0 1 2 3 4 5 5 6 7 8 9. for number in range(10): if number == 5: continue print(number, end=' ')
Answer the following statements true (T) or false (F)
1. Understanding organizational subcultures may help analysts overcome resistance to change. 2. Virtual enterprises use computer networks and communications technology to bring people together on a project. 3. One drawback of working on a virtual team is that there is no easy way for members to share project results. 4. Enterprise resource planning systems are software that help the flow of information between the functional areas in an organization. 5. ERP systems are only useful in large companies and not able to be used in small and medium-sized enterprises as well.
In Office 2010, the Help button is located on the Ribbon
Indicate whether the statement is true or false