Skip to Content
Sun Performance and Tuning: Java™ and the Internet, Second Edition
book

Sun Performance and Tuning: Java™ and the Internet, Second Edition

by Adrian Cockcroft, Richard Pettit
April 1998
Intermediate to advanced content levelIntermediate to advanced
624 pages
16h 11m
English
Pearson
Content preview from Sun Performance and Tuning: Java™ and the Internet, Second Edition

Pitfalls

Here are some of the idiosyncrasies of the language that will catch programmers by surprise if they’re accustomed to using a particular feature in C and assume that it will be supported in SymbEL.

  • Only one variable can be declared per line. The variable names may not be a comma-separated list.

  • There is no type float. All floating-point variables are type double.

  • Curly braces must surround all sequences of statements in control structures, including sequences of length one.

  • The comparators work with scalars, floats, and strings. Therefore, the logical comparison ("hello" == "world") is valid and in this case returns false.

  • If the result of an expression yields a floating value as an operand to the modulus operator, that value is converted ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Panic! UNIX® System Crash Dump Analysis

Panic! UNIX® System Crash Dump Analysis

Chris Drake, Kimberley Brown

Publisher Resources

ISBN: 0130952494Purchase book