Question: Is this an immutable class? Why? Public class Employee{ Public string ID; Public Employee(string ID){ This.ID = ID; } }
Is this an immutable class? Why?
Public class Employee{
Public string ID;
Public Employee(string ID){
This.ID = ID;
}
}
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
