Hi, i started reading SCJP 6 Certification book by Kathy & Bert. in Chapter 1, Under Legal Identifiers they are saying 'int e#' is an illegal identifier (page-5). But why? It started with a litter -right?
I see So only $ and _ (connecting character) are allowed but no other special characters are allowed (anywhere in the identifier definition). Of course in legal cases always I have to be careful how the identifier is starting.
Just to be thorough, legal characters in identifiers are defined as "currency symbols" and "connecting characters". Most times, $ and _ are used as examples, but many other currency symbols and connecting characters are allowed. Just FYI...
OCAJP7 (Aug 2014) | OCPJP7 (Currently Studying)
There were millions of the little blood suckers. But thanks to this tiny ad, I wasn't bitten once.