You can convert a long to String using the toString() method of Long wrapper class as follows.

 long l = 42;
   String str = Long.toString(l);