Thank youPiet Souris wrote:. . . I meant empty string.
I don't know whether you need to work out any Unicode numbers for a cert. exam, but for “Arabic” numbers and Latin letters, it should be very simple.Cihangir Kuce wrote:How can I calculate the unicode value of a character in the ocp exam? . . .
Have you any idea whether that behaviour is fixed for all programs, and whether it is specified anywhere?Swapnil Mishra wrote:. . . I though It would be good to include this
Yes.Tim Cooke wrote:You mean this one Campbell? , , ,
Yes, I had forgotten about that. It disappeared in Java6, just as using a static initialiser to allow you to execute code with no main method disappeared in Java7.Mike Simmons wrote:Long ago, there was a good . . . use case for that constructor. . . .
Hahahahahahahahahahahahaha! Do they ever use it for cert. exam questions; I think not.really just used for pointless interview questions about instances, equality, and GC.