G
Guest
I have a user class and a admin class that inherits the user class. The Admin
class has 1 more attribute, that is the AdminRole (String). This is how I
declare the constructor statement in the Admin class:
Public Sub New(ByVal newUserID As String, ByVal newPassword As String, ByVal
newActivate As String, ByVal newLastUpdate() As Byte, ByVal newAdminRole As
String)
MyBase.New(newUserID, newPassword, newActivate, newLastUpdate)
_AdminRole = newAdminRole
End Sub
Is it ok to declare like this?
class has 1 more attribute, that is the AdminRole (String). This is how I
declare the constructor statement in the Admin class:
Public Sub New(ByVal newUserID As String, ByVal newPassword As String, ByVal
newActivate As String, ByVal newLastUpdate() As Byte, ByVal newAdminRole As
String)
MyBase.New(newUserID, newPassword, newActivate, newLastUpdate)
_AdminRole = newAdminRole
End Sub
Is it ok to declare like this?