
PRG 211 Wk 5 Discussion – Algorithms and Object-Oriented Classes
Post a total of 3 substantive responses over 2 separate days for full participation. This includes your initial post and 2 replies to other students.
Due Thursday
Respond to the following in a minimum of 175 words:
Read the following pseudocode class definitions:
Class Plant
Public Module message()
Display “I’m a plant.”
End Module
End Class
Class Tree Extends Plant
Public Module message()
Display “I’m a tree.”
End Module
End Class
Given these class definitions, determine what the following pseudocode will display:
Declare Plant p
Set p = New Tree()
Call p.message()
Discuss how algorithms address object-oriented classes and objects.
Due Monday
Reply to at least 2 of your classmates. Be constructive and professional in your responses.
PRG 211 Wk 5 Discussion – Algorithms and Object-Oriented Classes
Questions & Answers
Have a Question?
Be the first to ask a question about this.