Here is code I want to declare an object of integer list in my class but it is showing error here. How do I add object of list integer to my class?
package JavaApplication1;
import java.io.Serializable;
/**
*
* @author user
*/
public class Word
{
private String path;
private transient int frequency;
private List<int> Lpaths;
}