Hi there,
On this task all castings are giving an error so I cannot verity it.
I mean:
- new Double(xxxx)
- new Float(xxx)
the debugger says "Double(double)' is deprecated and marked for removal " and so for Float.
This is my piece of code:
private static void initList(List<Number> list) {
list.add(new Double(1000f));
list.add(new Double("123e-445632"));
list.add(new Float(-90 / -3));
list.remove(new Double("123e-445632"));
}
Any idea what's wrong?