Exam 1 Review Flashcards

1
Q

primitive vs reference types

A

idk yet

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

what is static typing and does java use it?

A

idk

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Are strings mutable or immutable?

A

idk

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

When should you use == vs .equals()?

A

idk

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

“Donkey” + “Kong”?

A

idk

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

“b”-“a”

A

idk

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

int x =5;
“Donkey” + x;
x+”Donkey”;

A

idk

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

5/2

A

idk

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

How do you declare an array? 3 ways

A

idk

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Arrays are what kind of objects?

A

idk

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

int[] x or Integer[] x?

A

idk

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Is java object or reference oriented?

A

idk

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What does object orientated mean?

A

idk

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What are the 2 characteristics of a class

A

State and behavior

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is state?

A

reflected by instance variables

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is behavior?

A

reflected by methods

17
Q

Assessors vs mutator methods?

A

idk

18
Q

Overloading vs overriding?

A

idk

19
Q

Private vs protected vs public vs package-private…

A

idk

20
Q

UML language

A

idk