# HG changeset patch # User Oleksandr Gavenko # Date 1579538757 -7200 # Node ID ddc35b96ecc1480f8f7e934d11fab409127c040b # Parent b596469f32fc7681159475cf63be8077eeda31b8 Removed deprecated info. diff -r b596469f32fc -r ddc35b96ecc1 java.rst --- a/java.rst Mon Jan 20 17:42:41 2020 +0200 +++ b/java.rst Mon Jan 20 18:45:57 2020 +0200 @@ -52,8 +52,7 @@ * It means that it is visible to all within a particular package. -static. -------- +``static``: * Static means one per class, not one for each object no matter how many instance of a class might exist. This means that you can use them without @@ -65,21 +64,20 @@ a subclass, as long as the original method was not declared final. * You can't override a static method with a nonstatic method. -final. ------- +``final``: * A final class can't be extended ie., final class may not be subclassed. * A final method can't be overridden when its class is inherited. * You can't change value of a final variable. -Exceptions. -=========== +Exceptions +========== -A checked exception is some subclass of Exception (or Exception itself), -excluding class RuntimeException and its subclasses. +A checked exception is some subclass of ``Exception`` (or ``Exception`` itself), +excluding class ``RuntimeException`` and its subclasses. -Unchecked exceptions are RuntimeException and any of its subclasses. Class -Error and its subclasses also are unchecked. With an unchecked exception, +Unchecked exceptions are ``RuntimeException`` and any of its subclasses. Class +``Error`` and its subclasses also are unchecked. With an unchecked exception, however, the compiler doesn't force client programmers either to catch the exception or declare it in a throws clause. @@ -125,15 +123,6 @@ Anonymous inner classes extend local inner classes one level further. As anonymous classes have no name, you cannot provide a constructor. -64-bit problem. -=============== - -http://www.java.com/en/download/faq/java_win64bit.xml - Which version of Java should I download for my 64-bit Windows - operating system? -http://java.sun.com/javase/6/webnotes/install/system-configurations.html - Java SE 6 Release Notes Supported System Configurations - Java performance. =================