The type List is not generic; it cannot be parameterized with arguments <>

Error:
The type List is not generic; it cannot be parameterized with arguments <

Solution:

Change
import java.awt.List;

To

import java.util.List;

No comments:

Post a Comment