-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathparameters.java
More file actions
31 lines (24 loc) · 810 Bytes
/
parameters.java
File metadata and controls
31 lines (24 loc) · 810 Bytes
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
class p_Dog {
public static void main (String [] id) {
{
System.out.println("Hello World!");
System.out.println(new cat().newMethod(1,2,3,4,5));
/*System.out.println("10 + 20 - 4");
System.out.println(10 + 20 - 4);
System.out.println(305);
System.out.println("2 Plus 2");
System.out.println(2 + 2);
System.out.println(5 + 3 * 2 - 3 * 5 + 4 - 23 + 2 - 9 * 1 - 3 + 5 + 4 + 3 - 4 - 5 * 3);*/
}
}
}
class cat {
public int newMethod(int a, int b, int c, int d, int e){
System.out.println(a);
System.out.println(b);
System.out.println(c);
System.out.println(d);
System.out.println(e);
return e;
}
}