Setting values from One Enum type to another enum type.
Can you please let me know how to set value of one class/interface enum value to another class/interface enum value.
Here is the requirement:
Enum A - 1, 2,3, 4,
Enum B- 11,22,33,44
Getting Value from Enum A and it has to be assigned to Enum B.
Is there any casting required.
I am seeing error as:
The method setAccountNum(B.Enum) in the type MemberAccount is not
applicable for the arguments (A.Enum)
How to do this casting/assignement??