
package com.ups;

import static spark.Spark.*;
import spark.Request;
import spark.Response;
import spark.Route;

public class DemoApplicationexample {
    public static void main(String[] args) {
        //get("/hello", (req, res) -> "Hello World");
       get("/", new Route() {
            @Override
            public Object handle(Request request, Response response) {
                return "Hello World!!";
            }
        });
        
        System.out.println("Hello World");
    }
}

@@ -16,37 +16,8 @@
 s;%0A%0A
-import static spark.Spark.*;%0A
 impo
@@ -76,16 +76,45 @@
 k.Route;
+%0Aimport static spark.Spark.*;
 %0A%0Apublic

Update DemoApplicationexample.java