Giter Club home page Giter Club logo

java-koans's Introduction

java koans

quickstart

Requires java 21:

$ java --version
openjdk 21.0.1 2023-10-17 LTS

To run:

java Main.java

Use any editor or IDE to edit the koans in koans/*.java files

To exit press ^C, or finish all the koans.

philosphy

  • Covers mostly language, going in libraries only when needed

  • Part 1 -> Structure of method

  • Part 2 -> Structure of class/interface/records etc.

  • Part 3 -> Structure of project

Features to add

  • Beginner/Intermediate/Advanced tag, and to run only one subset.
  • export all java docs to a text file for reviewing the content
  • cmd line arg to run specific method.

progress

  • Introduction to koans system
    • assert based test
    • compilation failure based test
  • Local Variables
    • declarations
    • assignment
    • initialization
    • [-] uninitialized
  • Primitive types & values
    • boolean
    • char
    • byte, short, int, long
    • float, double
    • [-] automatic type ('var')
  • Reference Types and Values.
    • String
    • Boxed primitive
    • Objects, new
    • Object
    • null & NPE
  • Parameterized types
    • List
    • Set
    • Dequeue
    • Map
    • Wildcard
  • Arrays
    • types and variables
    • assignment
    • initializing
    • accessing
  • Expressions
    • method calls
    • static method calls
    • method chaining
    • string concatanation
    • arithmatic operations
    • relational operations
    • conditional / ternary
    • assignment

java-koans's People

Contributors

vrdhn avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.