Java Cheat logo

Build Status

Java minimal examples. Asserts used wherever possible.

  1. Getting started
  2. Code
    1. Main.java
    2. Hello world
    3. Language
      1. Types
        1. Floating point
          1. NaN
        2. Array
        3. Classes
          1. Constructor
          2. super
          3. Nested class
        4. Generics
      2. Branching
        1. Exceptions
    4. Standard library
      1. Collection
        1. Collections
        2. List
        3. Map
      2. StringBuilder
      3. Streams
        1. BufferedReader
      4. lang
        1. String
        2. Wrappers
          1. Integer pool
    5. interactive
    6. Binary compatibility
    7. ClassNotFoundException
    8. JNI
    9. WatchService
    10. instrument
  3. Introduction
    1. Standards
      1. Versions
    2. Implementations
      1. OpenJDK
    3. Classpath
    4. Style guides
  4. Tools
    1. java utility
    2. Javadoc
    3. javac
    4. JAR
  5. JVM
    1. Bytecode
  6. Third party
    1. JUnit
    2. Build tools
      1. Maven
      2. Ant
      3. Gradle
    3. Tomcat
  7. update-java-alternatives
  8. Bibliography

WIP

  1. Code
    1. Java 8
    2. JMX
  2. Tools
    1. jconsole
    2. JAVA_HOME
    3. JDB
    4. javap
  3. Third party
    1. Spring
    2. Jasmin
    3. Java Decompiler
    4. Mockito
    5. Formal verification