Toggle navigation
Create account
Sign in
Create flashcards
Courses
Week 6 Inheritance Vector, ArrayList and LinkedList
Week 6 Inheritance Vector, ArrayList and LinkedList
0
11 flashcards
up804653
start learning
download mp3
×
Perfect for auditory learners
–
Turn your words in an audiocourse and learn:
while riding on the bus or in a car
walking the dog
waiting in line
before bedtime
This function is only available for premium users.
activate a premium account
sample recording
print
×
Perfect outside
–
Print your words:
as a handy list
as flashcards to be cut out
This function is only available for premium users.
activate a premium account
an example of a printout
play
test yourself
Question
Answer
What are some of the problems of array structures?
start learning
all elements must be same type, number of elements predetermined, inefficent
what does ArrayIndexOutOfBoundsException message indicate?
start learning
you are making reference to an array index that is larger or smaller than the actual array.
what is a Vector
start learning
the vector class in java is a kind of list that can grow as needed
What is a linkedList
start learning
A linked list is a data structure that consists of a sequence of nodes, where each node contains some data and the address of the next node.
what will happen when you add an 11th item to: Vector(10);
start learning
the vector will double its allocated space
when would you use a vector?
start learning
if a thread-safe implementation is needed
if a thread-safe implementation is not needed what class would you use inplace of vector?
start learning
ArrayList
are linked lists synchronised or unsynchronised?
start learning
unsynchronised
what code do you use to rentern the number of items in an array list?
start learning
int size();
what does Object get(int index); do for ArrayLists?
start learning
//returns element at index without removing it
what does Object remove(int index) do for ArrayLists?
start learning
//removes element at index and shifts up rest
Create flashcards
See related flashcards:
Week2 objects and parameters
Week 5 Hierarchy, Inheritance, Superclasses and Subclasses
Week7 Graphical User Interface (GUI). Abstract Windowing Toolkit (AWT) and Swing
Week 8 Inheritance. Abstract classes. Polymorphism
Week 9 Event driven programing
You must sign in to write a comment
×
Main
Progress bar
Clock
Enforce good response
Content
Text
Example text
images
Recordings
Example recordings
recordings native
Grammar highlighting
Retyping options
ignore:
spaces
diacritics
brackets
punctuation
capital letters
no article
combine shortcuts
order
report an error
Thank you for reporting :)
1
2
3
4
check
next
I'm right ↑
(
Tip:
Pressing
enter
considers the answer to be
wrong
Tip2:
in order to see the question again, click on the notepad )
revise
I knew it
show answer
check
next
I'm right ↑
(
Tip:
Pressing
enter
considers the answer to be
wrong
Tip2:
in order to see the question again, click on the notepad )
Well done, you're doing fine:)
The creator of these flashcards is Up804653.
Click here to create your own download :)
If you prefer ready, try out our professional courses.
British slang
try it for free
English pronunciation
try it for free
Repeat all
Repeat difficult flashcards
End of round
1
Summary
round
I knew it
revise
1
(
)
(
)
Next round
revise what you didn't know
×
Select the correct answer
create a new test
×
Pair all the words as quickly as possible!
0
steps
New game:
4x3
5x4
6x5
7x6
×
Log in
Log in
Sign in
Login or Email
Password
Sign in
Forgot your password?
Don't have an account?
Log in
Log in
Create account
Get Started with this Free Course!
No Cost. No Obligation. No Spam.
Your email address
Create account
Already have an account?
I accept the
terms
and
privacy policy
Virtual Keyboard - write or click
close
`
1
2
3
4
5
6
7
8
9
0
-
=
Backspace
Nederlands, Vlaams
English
American English
Français
Deutsch
italiano
Norsk
język polski
português
русский язык
español
Svenska
українська мова
gjuha shqipe
العربية
euskara
беларуская мова
български език
català, valencià
中文, 汉语, 漢語
hrvatski jezik
český jazyk
dansk
Esperanto
eesti keel
føroyskt
suomen kieli
galego
ქართული
ελληνικά
עברית
हिन्दी, हिंदी
magyar
Íslenska
Bahasa Indonesia
日本語, にほんご
ಕನ್ನಡ
Қазақша
한국어, 韓國語, 조선어, 朝鮮語
latine
latviešu valoda
lietuvių kalba
Lëtzebuergesch
македонски јазик
bahasa Melayu, بهاس ملايو
Malti
Papiamento
فارسی
Português brasileiro
limba română
rumantsch grischun
Gàidhlig
српски језик
slovenský jazyk
slovenski jezik
ไทย
Xitsonga
Setswana
Türkçe
اردو
Tiếng Việt
isiXhosa
ייִדיש
isiZulu
q
w
e
r
t
y
u
i
o
p
[
]
\
Caps Lock
a
s
d
f
g
h
j
k
l
;
'
Shift
z
x
c
v
b
n
m
,
.
/
Ctrl + Alt
.
ą
ę
ó
ć
ś
ł
ń
ź
ż