-
Notifications
You must be signed in to change notification settings - Fork 0
/
input2.txt
102 lines (72 loc) · 1.09 KB
/
input2.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
//check multiple return: ok
//class must implement all methodes: ok
//function with no params: ok
class Fighter extends Caracter implements Actions{
public static void main()
{
int x = A.x;
}
private String attack(int x,int y,boolean zz)
{
if(zz == true)
{
//return 1;
while(!zz)
{
return "hello";
}
}
else{
int att = x;
}
return "attack";
//return 1;
}
public void move(int difName)
{
//String m = attack(x,x,true);
}
public int show()
{
int x = 10;
return x;
}
}
class Caracter{
public static int id = 0;
public int att;
public int deff;
}
interface Actions{
String attack(int x,int y,boolean z);
void move(int x);
int show();
}
class A {
public static int x = 0;
public static int y = 2;
public int z;
//public B b = new X();
public static int fonct(int e)
{
}
}
/*
class X extends B implements Y {
private int a = 1;
public int getX(int y){
int z = A.x;
int c = A.fonct(z);
return 2;
}
}
interface Y extends A{
int getX(int y);
int getY(int y);
}
interface Y1{
}
class B
{
}
*/