added my line and java file

Added the required files…