Archive of my solution codes to JAVA lab problems
LAB | SOLUTION CODES | SCREENSHOTS | |
---|---|---|---|
1 | here | here | |
2 | here | here | |
3 | here | here | |
4 | here | here | |
5 | here | here | |
6 | here | here |
- Solution codes are in this folder.
- Screenshots of outputs are in this folder.
- For Windows users: firstly install
make
for executingMakefile
, from this link; - For Linux users:
make
generally comes pre-installed;- if not, then run the following command:
sudo apt-get install make
- if not, then run the following command:
- Now, run the following commands in the root directory:
- for building class files:
cd ./src make compile
- for executing them:
cd ./build make run
- for cleaning build folder:
cd ./build make clean # for linux make clean(win) # for windows
- NOTE: just compile & execute the code using the makefile as shown above, after that the executable will take you to any problem's solution from any lab as per your choice (see screenshots below).
Happy Java!