Skip to main content

Posts

Quick Notes: SCJP 1.6 (Sun Certified Java Programmer)

This articel contains quick notes which I did during reading  Sun Certified Programmer for Java 6 Study Guide - SCJP. Kathy Sierra, Bert Bates. Also it was extended with some additional notes from official Java doc API which are not required for SCJP 6. If you gonna pass SCJP exam - it will be the best crib.    1           DECLARATION & ACCESS CONTROL 1.1       Ranges of Numeric Primitives Type Bits Bytes Min. Range -2 (bits-1) Max. Range 2 (bits-1) -1 byte 8 1 -2 7 2 7 -1 short 16 2 -2 15 2 15 -1 int 32 4 -2 31 2 31 -1 float 32 4 n/a n/a long 64 8 -2 63 2 63 -1 double 64 8 n/a n/a 1.2         Comparison of modifiers on variables vs. methods Local Variables Non-local Variables Methods final fi...