Place the code into class so that it complies and generates the output answer=42. DRAG DROPPlace the code into class so that it complies and generates the output answer=42. DRAG DROP Place the code into class so that it complies and generates the output answer=42. Show Hint ← Previous question Next question →
fjbo221 public class Gen { private T object; public Gen (T object) { this.object = object; } public T getObject() { return object; } … Reply
public class Gen {
private T object;
public Gen (T object) {
this.object = object;
}
public T getObject() {
return object;
}
…