Java Language -- Lexical Issues I
Lexical structure inherits a lot from C/C++. There are however some notable differences which are listed below.
Java characters are based on 16--bit wide Unicode Worldwide Character Encoding rather than the usual 8--bit wide ASCII. This allows full support of all alphabets and hence all languages
Three types of comments are supported:
- // ignore all till the end of this line
- /* ignore all between starts */
- /** an insert into an automatically generated software documentation */
- for /** */ one inserts HTML documentation with some simple macros such as @see (to designate see also) BEFORE the method or class being documented