Why is the constructor of the QueueLinkedList class empty?
A. because initialization of data members of the LinkedList class is performed by the constructor of the LinkedList class.
B. because initialization of data members of the LinkedList class is performed by the destructor of the LinkedList class.
C. because initialization of data members of the QueueLinkedList class is performed by the constructor of the LinkedList class.
D. because initialization of data members of the QueueLinkedList class is performed by the destructor of the LinkedList class
Ans: A
B. because initialization of data members of the LinkedList class is performed by the destructor of the LinkedList class.
C. because initialization of data members of the QueueLinkedList class is performed by the constructor of the LinkedList class.
D. because initialization of data members of the QueueLinkedList class is performed by the destructor of the LinkedList class
Ans: A
Post a Comment