Hello sgsamanthjain. Welcome to the Java Programming Forums.
In future, please make sure you post in the correct forum. I have moved this thread to - Java Theory & Questions

You can open Notepad...