Java Test 2

Java code posted by MaxEMoose
created at 24 Jan 18:30, updated at 24 Jan 18:38

Edit | Back
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import javax.jws.WebParam;
import javax.jws.WebService;
public class Demo {
    private static final String CONSTANT = "String";
    private Object o;
    /**
     * Creates a new demo.
     * @param o The object to demonstrate.
     */
    public Demo(Object o) {
        this.o = o;
        String s = CONSTANT;
        int i += 1;
    }
    public static void main(String[] args) {
        Demo demo = new Demo();
    }
    @WebService
    public interface ContactUsService {
      List<Message> getMessages();
      Message getFirstMessage();
        void postMessage(@WebParam(name = "message") Message message);
    }
}
648 Bytes in 3 ms with coderay