2. Look at the following pseudocode class definitions: Class Vegetable Public Module message() Display "I'm a vegetable." End Module End Class Class Potato Extends Vegetable Public Module message() Display "I'm a potato." End Module End Class Given these class definitions, what will the following pseudocode display? Declare Vegetable v Declare Potato p Set v = New Potato() Set p = New Potato() Call v.message() Call p.message()
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here