This repo is created for training.
Select a topic (ex. 01-declare-and-initialize
) and try to answer these questions:
- Will
javac x.java
run successfully? - What's will be output?
- Declare And Initialize
- Static
- Declare Constructor
- Overloading
- Object Oriented
- Exception
- Arrays and Collections
- Streams And Lambda Expressions
- Concurrency
macorapci@monster:~/CuriousAboutCoding$ java --version
openjdk 11.0.14 2022-01-18
OpenJDK Runtime Environment (build 11.0.14+9-Ubuntu-0ubuntu2.20.04)
OpenJDK 64-Bit Server VM (build 11.0.14+9-Ubuntu-0ubuntu2.20.04, mixed mode, sharing)
- For creating
README.md
files, u can use this command:find ./01-declare-and-initialize/ -name "*.java" | sort | java -jar ./scripts/RunCommand-0.0.1.jar Main | sort | java -jar ./scripts/File-0.0.1.jar Main > output.txt