val head: T, val tail: MyLinkedList<T>? ) val list = MyLinkedList(1, MyLinkedList(2, null)). Though constructors are not the only way to create objects.
確定! 回上一頁