Hello, Im currently working on a assignment and need help \"identifying the erro
ID: 3628139 • Letter: H
Question
Hello,Im currently working on a assignment and need help "identifying the errors in the following codes". I just need to know the errors.
_____
Class Hello
MustOverride Function Hi() As String
Return “hi!”
End Function
End Class
Class DragRacer
Inherits Hello
Ovverides Function Hi() As String
Return “Start your engines!”
End Function
End Class
______________
Class Hello
MustOverride Function Hi() As String
End Class
Class Euro
Inherits Hello
Overrides Function Hi() As String
Return “Caio”
End Function
End Class
______________
MustInherit Class Hello
MustOverride Function Hi() As String
End Class
Class NorthEasterner
Inherits Hello
Overrides Function Hi(ByVal name As String) As String
Return “How ya doin’, “ & name
End Function
End Class
Thank you!!!
Explanation / Answer
A. Class Hello ' Function Hi() As String ' Return "hi!" ' End Function ' End Class ' ' Class WithIt ' Inherits Hello ' Overrides Function Hi() As String ' Retrun "Hey"Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.