Serverless mission 101

@mark-piller
How to do this mission with java code ?
I tried it like this
I wrote this code in main Activity
it didnt work
i dont know what parameters to pass to those functions?
Thread thread = new Thread(new Runnable() {

			@Override
			public void run() {
				try  {
					
					CodelessShoppingCartService.initApplication();

					CodelessShoppingCartService codelessShoppingCartService = CodelessShoppingCartService.getInstance();
					// invoke methods of you service
					Object result = codelessShoppingCartService.getInstructions();
					
					Object item = codelessShoppingCartService.addItem("milk",1);
					Object getitems = codelessShoppingCartService.getItems("mycart");
					Object pur = codelessShoppingCartService.purchase("milk");
					//System.out.println( result );
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});

	thread.start();

problem solved thanks