Description
LP8.3 Assignment: Identifying Errors in Form Code
This assignment will assess Competency 8. Demonstrate basic knowledge of Object-Oriented Programming.
Directions: For this assignment, you will complete exercises 10, 12, and 14 on pages 595-596. Create a MS Word file that contains your name, chapter, exercise number, and answer for each exercise.
Submit to your instructor via the dropbox “LP8.3 Assignment: Identifying Errors in Form Code.” This assignment is worth 45 points and will be graded according to the following scoring guide.
10. Class Hello Function Hi() As String
Return "hi!" End Function
End Class
Class WithIt Inherits Hello
Overrides Function Hi() As String Return "Hey"
End Function End Class
12. Class Hello MustOverride Function Hi() As String
Return "hi!" End Function
Overrides Function Hi() As String Return "Start your engines!"
End Function End Class
End Class
Class DragRacer Inherits Hello
14. Class Hello MustOverride Function Hi() As String
End Class
Class Euro Inherits Hello
Overrides Function Hi() As String Return "Ciao"
End Function End Class
Explanation & Answer
Hey, I am through. The correct answer is in the attached word file
Exercise 10
Class Hello
Function Hi() As String
Return "hi!"
End Function
End Class
Class WithIt
Inherits Hello
Overrides Function Hi() As String
Return "Hey"
End Function
End Class
Answer
Error: The Hi function should be declared with the Overridable keyw...
Review
Review
24/7 Homework Help
Stuck on a homework question? Our verified tutors can answer all questions, from basic math to advanced rocket science!
Similar Content
Related Tags
Underground A Human History of the Worlds Beneath our Feet
by Will Hunt
Sounds Like Titanic
by Jessica Chiccehito Hindman
The Scarlet Letter
by Nathaniel Hawthorne
The Dispossessed
by Ursula Kroeber Le Guin
Daisy Miller
by Henry James
Gone with the Wind
by Margaret Mitchell
Uncle Tom's Cabin
by Harriet Beecher Stowe
The Two Towers
by J. R. R. Tolkien