📜  在java代码示例中初始化链表

📅  最后修改于: 2022-03-11 14:52:14.834000             🧑  作者: Mango

代码示例1
LinkedList linkedList1 = new LinkedList<>();
// or
LinkedList linkedList2 = new LinkedList();