public class Solution {
   
   public static void main(String []argv)
   {
      //Write your solution here.
       System.out.println("Hello World.");
       System.out.println("Hello Java.");
   }

}

Create WelcomeToJava.java