This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
the length of a variable name can be a 32 bit integer number. Which number is the maximum the compiler will allow is open to experimentation. Anyone wanting to try a variable name of 65000 characters is hereby invited to try
Well, I tried an int. Got to 2097088 characters in the variable name before the compiler ran out of memory (I was doubling its length from 65535 each time so you may well be able to create a bigger one). I'm so glad I know that now... [ April 08, 2005: Message edited by: Paul Sturrock ]