This commit is contained in:
2025-03-04 15:53:39 +03:00
parent d3ac74eb64
commit bbf73e06a4
8 changed files with 95 additions and 0 deletions

17
DataLabs/lab1/Box.java Normal file
View File

@ -0,0 +1,17 @@
public class Box<T> {
private T t;
public void set(T t){
this.t = t;
}
public T get(){
return t;
}
public String printContents(){
return t.toString();
}
}