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