Employee Class

Burke, Brendan J 141 Reputation points
2022-05-09T16:33:18.44+00:00

Write a Class statement that defines a class named Employee. (The class contains four public variables named EmpID , LastName , FirstName , and PayRate . The EmpID , LastName , and FirstName variables are String variables. The PayRate variable is a Decimal variable.) Then write a statement that creates an Employee variable named partTime and also instantiates an Employee object, assigning it to the partTime variable.

Visual Basic code is all I need.

Developer technologies | VB
{count} votes

1 answer

Sort by: Most helpful
  1. Jiachen Li-MSFT 34,221 Reputation points Microsoft External Staff
    2022-05-10T01:27:46.05+00:00

    Hi @Burke, Brendan J ,
    You can write your own classes by referring to the examples in the documentation below.
    Objects and classes in Visual Basic
    If you encounter a bug while writing your own code, you can post it and we'll be happy to help you out.
    Best Regards.
    Jiachen Li

    ----------

    If the answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.