aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--game/esieequest/Main.java35
1 files changed, 35 insertions, 0 deletions
diff --git a/game/esieequest/Main.java b/game/esieequest/Main.java
new file mode 100644
index 0000000..bee1dc9
--- /dev/null
+++ b/game/esieequest/Main.java
@@ -0,0 +1,35 @@
1package esieequest;
2
3
4/**
5 * Write a description of class Main here.
6 *
7 * @author (your name)
8 * @version (a version number or a date)
9 */
10public class Main
11{
12 // instance variables - replace the example below with your own
13 private int x;
14
15 /**
16 * Constructor for objects of class Main
17 */
18 public Main()
19 {
20 // initialise instance variables
21 x = 0;
22 }
23
24 /**
25 * An example of a method - replace this comment with your own
26 *
27 * @param y a sample parameter for a method
28 * @return the sum of x and y
29 */
30 public int sampleMethod(int y)
31 {
32 // put your code here
33 return x + y;
34 }
35}