Skip to content

MFrank2016/java-guide-1

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

java-guide

A guide to modern Java (Java 17)

Content

  1. genesis.md
  2. basictypes.md
  3. methods.md
  4. jshellvsjava.md
  5. controlflow.md
  6. interface.md
  7. lambda.md
  8. listandmap.md
  9. exception.md
  10. encapsulation.md
  11. nullandoptional.md
  12. internalclass.md
  13. inheritance.md
  14. generics.md
  15. stream.md
  16. datastructure.md
  17. sort.md

Using Java Shell (jshell)

Each chapter comes with executable examples that you can run using jshell.

To get the examples, just clone this repository

  git clone http://github.com/forax/java-guide

Then run jshell (at least Java 14 version)

   jshell --enable-preview

Then you can copy paste the examples inside jshell and see by yourself.

To quit use '/exit', to have have verbose error message '/set feedback verbose', otherwise to get the help '/help'

Work in progress

This is a work in progress, don't hesitate to contribute, i'm waiting your pull request

Build markdown files from jshell files

Using java 14

  java --enable-preview build/build.java

About

A guide of modern Java (Java 17)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%