Created by David McKee
about 6 years ago
|
||
Which 'List' data structure is most efficient when primarily adding to the beginning of a list.
Which 'List' data structure is most efficient when primarily adding to the beginning AND end of a list.
What is the "Big O" runtime efficiency of inserting at the beginning of an ArrayList.
What is the "Big O" runtime efficiency of inserting "anywhere" into an ArrayList.
What is the "Big O" runtime efficiency of inserting at the end of an ArrayList.
What is the "Big O" runtime efficiency of inserting "anywhere" into an LinkedList.
What is the "Big O" runtime efficiency of inserting at the head of a LinkedList.
What is the "Big O" runtime efficiency of inserting at the tail of a LinkedList.
What is "Big O" notation used for?
True or False:
A class that implements an interface must provide an implementation of ALL the methods of that interface.
True or False:
Interfaces have no state and can not be instantiated.
True or False:
A Concrete class that extends an Abstract class must have an implementation for ALL methods in the Abstract class.
How is a new Iterator created?
True or False:
Abstract classes may contain state (data members) and/or implementation (methods).
True or False:
Abstract classes can be inherited without implementing the abstract methods.
True or False:
Polymorphism in Java has two types: Compile time polymorphism (static binding) and Runtime polymorphism (dynamic binding)
__________ means there are several methods present in a class having the same name but different types/order/number of parameters.
___________ means that a method in a subclass takes precedence over it's super classes' definition of the same method.
True or False:
More than one interface can be implemented on a class.
True or False:
A class can only derive from a single abstract base class.