jQuery in Action, 3rd edition
The moose likes Beginning Java and the fly likes how to convert Byte to the String Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "how to convert Byte to the String" Watch "how to convert Byte to the String" New topic
Author

how to convert Byte to the String

sam liya
Ranch Hand

Joined: Nov 25, 2008
Posts: 1240
how to convert Byte to the String
Henry Wong
author
Sheriff

Joined: Sep 28, 2004
Posts: 20057
    
  44

aruna sameera wrote:how to convert Byte to the String


The Byte class has a toString() method.

Henry


Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
Ankit Garg
Sheriff

Joined: Aug 03, 2008
Posts: 9405
    
  20

The String class also has a static valueOf method which takes a byte as parameter and converts it into a String


SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
 
Have you checked out Aspose?
 
subject: how to convert Byte to the String
 
jQuery in Action, 3rd edition