feat: change up organisation
This commit is contained in:
17
labs/cs2030s/Lab4/Print.java
Normal file
17
labs/cs2030s/Lab4/Print.java
Normal file
@@ -0,0 +1,17 @@
|
||||
/**
|
||||
* A non-generic Action to print the String
|
||||
* representation of the object.
|
||||
* CS2030S Lab 4
|
||||
* AY22/23 Semester 1
|
||||
*
|
||||
* @author Yadunand Prem (10B)
|
||||
*/
|
||||
|
||||
class Print implements Action<Object> {
|
||||
|
||||
@Override
|
||||
public void call(Object item) {
|
||||
System.out.println(item);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user