# HG changeset patch # User Oleksandr Gavenko # Date 1328626521 -7200 # Node ID 7a3ade740d3fec264cf46c0ee7556a5b9e077b26 # Parent 84101bddf00c100bbce0fb09049ac1c2504b527f Fix RST syntax. diff -r 84101bddf00c -r 7a3ade740d3f java.rst --- a/java.rst Tue Feb 07 16:51:31 2012 +0200 +++ b/java.rst Tue Feb 07 16:55:21 2012 +0200 @@ -7,18 +7,21 @@ Class version. ============== -See value of 6 and 8 bytes in .class file: - - {0xCA, 0xFE, 0xBA, 0xBE, 0x00, minor, 0x00, major} + ========= ====== ===================== + major minor Java platform version + ========= ====== ===================== + 45 0x27 3 1.0 + 45 0x27 3 1.1 + 46 0x28 0 1.2 + 47 0x29 0 1.3 + 48 0x30 0 1.4 + 49 0x31 0 1.5 + 50 0x32 0 1.6 + ========= ====== ===================== - major minor Java platform version - 45 0x27 3 1.0 - 45 0x27 3 1.1 - 46 0x28 0 1.2 - 47 0x29 0 1.3 - 48 0x30 0 1.4 - 49 0x31 0 1.5 - 50 0x32 0 1.6 +where ``minor`` and ``major`` are value of 6 and 8 bytes in .class file:: + + 0xCA, 0xFE, 0xBA, 0xBE, 0x00, minor, 0x00, major Access modifiers. ================= @@ -33,16 +36,16 @@ -------- * Private variables or methods may be used only by an instance of the same - class that declares the variable or method + class that declares the variable or method * A private feature may only be accessed by the class that owns the feature. Protected. ---------- * Is available to all classes in the same package and also available to all - subclasses of the class that owns the protected feature. + subclasses of the class that owns the protected feature. * This access is provided even to subclasses that reside in a different - package from the class that owns the protected feature. + package from the class that owns the protected feature. default. --------