We value your feedback.
Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!
If I compile without -Xlint, I get a warning, but no error, and the program works.
warning: [unchecked] unchecked cast E newData = (E) new Object[capacity]; ^ required: E found: Object where E is a type-variable: E extends Object declared in class ArrayList
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.