- Q7 Determine The Output Of The Following Vb Net Program Determine The Output Chok Class Human Public Overridable Funct 1 (41.69 KiB) Viewed 38 times
Q7. Determine the output of the following VB.net Program. Determine the output Chok Class Human Public Overridable Funct
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Q7. Determine the output of the following VB.net Program. Determine the output Chok Class Human Public Overridable Funct
Q7. Determine the output of the following VB.net Program. Determine the output Chok Class Human Public Overridable Function Display() as String Return "I am a human." End Function End Class Class Father Inherits Human Public Overrides Function Display() as String Return "I am a Father" End Function End Class Public class Forml Private Sub Button1_Click() Handles Button1.click Dim obj As Human Obj = New Father ListBox1.Items.Add(Obj.Display()) End Sub End Class Output