Java – Generic Constructor Example

Create Generic Constructor in Java

Output:

value: 100.0
value: 123.5