java.rst
changeset 2228 837f1337c59b
parent 2127 782577d2e7f0
child 2350 1141a548cbb6
--- a/java.rst	Sat Feb 10 01:28:53 2018 +0200
+++ b/java.rst	Sat Feb 10 01:30:24 2018 +0200
@@ -9,19 +9,20 @@
 Class version.
 ==============
 
-  =========  ====== =====================
-  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      5.0
-  50 0x32    0      6.0
-  51 0x33    0      7
-  52 0x34    0      8
-  =========  ====== =====================
+
+=========  ====== =====================
+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      5.0
+50 0x32    0      6.0
+51 0x33    0      7
+52 0x34    0      8
+=========  ====== =====================
 
 where ``minor`` and ``major`` are value of 6 and 8 bytes in .class file::
 
@@ -33,50 +34,50 @@
 Public.
 -------
 
- * Public class is visible in other packages.
- * Public field is visible everywhere (class must be public too).
+* Public class is visible in other packages.
+* Public field is visible everywhere (class must be public too).
 
 Private.
 --------
 
- * Private variables or methods may be used only by an instance of the same
-   class that declares the variable or method
- * A private feature may only be accessed by the class that owns the feature.
+* Private variables or methods may be used only by an instance of the same
+  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.
- * This access is provided even to subclasses that reside in a different
-   package from the class that owns the protected feature.
+* Is available to all classes in the same package and also available to all
+  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.
 
 default.
 --------
 
 What you get by default ie, without any access modifier.
 
- * It means that it is visible to all within a particular package.
+* It means that it is visible to all within a particular package.
 
 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
-   creating an instance of a class.
- * Static methods are implicitly final, because overriding is done based on
-   the type of the object, and static methods are attached to a class, not an
-   object.
- * A static method in a superclass can be shadowed by another static method in
-   a subclass, as long as the original method was not declared final.
- * You can't override a static method with a nonstatic method.
+* 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
+  creating an instance of a class.
+* Static methods are implicitly final, because overriding is done based on
+  the type of the object, and static methods are attached to a class, not an
+  object.
+* A static method in a superclass can be shadowed by another static method in
+  a subclass, as long as the original method was not declared final.
+* You can't override a static method with a nonstatic method.
 
 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.
+* 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.
 ===========
@@ -134,17 +135,17 @@
 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
+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.
 =================
 
-  http://java.sun.com/performance/reference/whitepapers/5.0_performance.html
-  http://java.sun.com/performance/reference/whitepapers/6_performance.html
+http://java.sun.com/performance/reference/whitepapers/5.0_performance.html
+http://java.sun.com/performance/reference/whitepapers/6_performance.html
 
 Creating jar.
 =============
@@ -255,8 +256,8 @@
 Find jar by class.
 ==================
 
-  http://mvnrepository.com/search.html?query=PKG
-  http://www.jarfinder.com
+* http://mvnrepository.com/search.html?query=PKG
+* http://www.jarfinder.com
 
 Set default Java in Debian.
 ===========================
@@ -313,14 +314,14 @@
 
 See:
 
-  http://en.wikipedia.org/wiki/Java_EE_version_history
-    Java EE version history.
-  http://jcp.org/aboutJava/communityprocess/final/jsr315/index.html
-    Servlet 3.0 Specification
-  http://jcp.org/aboutJava/communityprocess/mrel/jsr154/index.html
-    Servlet 2.5 Specification
-  http://www.mularien.com/blog/2008/04/24/how-to-reference-and-use-jstl-in-your-web-application/
-    How to Reference and Use JSTL in your Web Application
+http://en.wikipedia.org/wiki/Java_EE_version_history
+  Java EE version history.
+http://jcp.org/aboutJava/communityprocess/final/jsr315/index.html
+  Servlet 3.0 Specification
+http://jcp.org/aboutJava/communityprocess/mrel/jsr154/index.html
+  Servlet 2.5 Specification
+http://www.mularien.com/blog/2008/04/24/how-to-reference-and-use-jstl-in-your-web-application/
+  How to Reference and Use JSTL in your Web Application
 
 Java interactive shell.
 =======================