Hi all...
Could anyone help me with this code please ?
I need to create a base class "shopkeeper" with the following fields...
Constructor
Takes first name and last name as arguments
Properties
First name and last name
Method
To String (this overrides the base class method and returns the full name of the shopkeeper in the form
Abstract read only property
Monthly pay
This is what I have so far''''
Public Class Employee
Private strFirstName As String
Private strLastName As String
Public Sub New(ByVal FirstName As String, ByVal LastName As String)
End Sub
End Class
I know, not a lot, If you could just help me get this first bit I'm sure the rest of what I have to code will fall into place. Please, any help or pointers would be much appreciated.
Thanks for your time.
Could anyone help me with this code please ?
I need to create a base class "shopkeeper" with the following fields...
Constructor
Takes first name and last name as arguments
Properties
First name and last name
Method
To String (this overrides the base class method and returns the full name of the shopkeeper in the form
Abstract read only property
Monthly pay
This is what I have so far''''
Public Class Employee
Private strFirstName As String
Private strLastName As String
Public Sub New(ByVal FirstName As String, ByVal LastName As String)
End Sub
End Class
I know, not a lot, If you could just help me get this first bit I'm sure the rest of what I have to code will fall into place. Please, any help or pointers would be much appreciated.
Thanks for your time.
Last edited by a moderator: