I have created one static string in apex like
private static string HARSWARE_SOFTWARE= 'Hardware and Software';
and now this variable I am using in ENum like
public Enum PSServices{HARSWARE_SOFTWARE}
But when i print the service then I am getting variable HARSWARE_SOFTWARE
not value?
In Java we can write
public Enum PSServices{HARSWARE_SOFTWARE('Hardware and Software')}
But same when i tried in salesforce apex i am getting error, I want string as return type.
Please assist me in this.