Skip to content

Commit 6108db4

Browse files
authored
Create MyAwesomeProg.java
1 parent 5959e8a commit 6108db4

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

Enums/MyAwesomeProg.java

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
import java.util.List;
2+
import java.util.ArrayList;
3+
4+
public class MyAwesomeProg
5+
{
6+
public static void log(Object o)
7+
{
8+
System.out.print(o);
9+
}
10+
11+
public static void logln(Object o)
12+
{
13+
System.out.println(o);
14+
}
15+
16+
public static void main(String [] args)
17+
{
18+
Student d = new Student("Daniela", "Ennen");
19+
d.currentSubs=d.currentSubs.Silver;
20+
21+
//To output I do this
22+
logln(d.currentSubs);
23+
}
24+
}

0 commit comments

Comments
 (0)