This repository have some java source codes that I am writing to prepare for technical interviews.
handy:
-
create a bash file without the extension: name it : "jv" location:
C:\Program Files\Git\usr\bin -
Compile the file first and then run it to see the output
javac $1.java;java $1For example, if you have a file called HelloWorld.java, you would type in the terminal:jv HelloWorld -
Clean all the class files
rm *.class -
Create new file
bash newsee contents of "new": it basically increment count and create a new file copying the contents of s1.java and creating a s(incrementedValue).java -
See the last file count
cat count
The following list is little bit unorganized at the moment. I have done whatever came up in my mind. Later I may want to come back to it and organize a bit so that somebody else can find this repo useful.
List of files in this directory: see list.md