Java – Generic Constructor Example

Output:

value: 100.0
value: 123.5

Comments are closed here.