0% completed
public class Box<T> {
private T content;
public Box(T content) {
this.content = content;
}
public T getContent() {
return content;
}
}
public class Test {
public static void main(String[] args) {
Box<Integer> intBox = new Box<Integer>(100);
System.out.println("Content: " + intBox.getContent());
}
}
.....
.....
.....