OnJava8-Examples/generics/Holder1.java
2015-09-07 11:44:36 -06:00

11 lines
217 B
Java

// generics/Holder1.java
// ©2015 MindView LLC: see Copyright.txt
class Automobile {}
public class Holder1 {
private Automobile a;
public Holder1(Automobile a) { this.a = a; }
Automobile get() { return a; }
}