This repository is a collection of Java files which I am using to learn fundamentals of Java Programming Language.
- Clone the repsoitory. Type
git clone [email protected]:pfieffer/JavaPractise.git
orgit clone https://github.com/pfieffer/JavaPractise.git
in your terminal or git bash. - To compile, use terminal or cmd.
- Make sure, you have java installed. Type
java --version
to check. If you have not installed java, go ahead and do that first. - Type
javac FILE_NAME.java
forFILE_NAME
that you want to compile, which will generate a.class
file on successful compilation. - Finally type
java FILE_NAME
to run the code and see result.