how to make linklist nodes with 2 int values in java code example Example: how to declare a linked list in java LinkedList<String> list=new LinkedList<String>();