This is the message generated on the line 8 (ArrayList mr=new ArrayList();):
Multiple markers at this line
- ArrayList is a raw type. References to generic type ArrayList should be parameterized
- Type safety: The expression of type ArrayList needs unchecked conversion to conform to
ArrayList
What’s the problem in this line? can we not write it? ArrayList mr=new ArrayList();
