String does not override the clone method, thus it relies on its parent class (Object) clone method, which is protected. Just create a new String from the old
Type: Posts; User: copeg
String does not override the clone method, thus it relies on its parent class (Object) clone method, which is protected. Just create a new String from the old
Define 'it is not working'...does it compile? Are there exceptions? Does it misbehave? Post all errors in their entirety