//.java is the file where the code is written. Ex: Problem.java
//however when we want to run the code the .java file gets compiled and a .class file is formed.
//this can be done in the terminal using
javac Problem.java
//this is when Problem.class will be created
//then this .class file get interpreted and code is excuted using the following comand
java Problem
//Problem is the name of the example file