I don't think you need to know implementation details of the toString() methods of the wrapper classes for the SCJP...
If you really want to know, lookup the file
src.zip in your JDK installation directory, and find the source code for class Byte. I looked, and the toString() method of class Byte looks like this:
Jesper Young wrote:
If you then lookup the method toString(int i, int radix) in class Integer, you'll see that it builds up the string using a character buffer, and in the end calls new String(...). So no, the strings returned by Byte.toString() are not in the string pool. But you will not get any questions on the exam about this specific topic.
the code i posted was found in one of the mock question papers posted......
we can answer the above question only if we know that they are created using new operator......that's why i asked you my friend....
thanks a lot for your reply....