OBJEKTORIENTERAD PROGRAMMERING Flashcards

1
Q

åtkomstmodifierare

A

ex: public eller private

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

parametervärden

A

värden som skickas in i en metod m.ha. parameter

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

Referensvariabeln

A

reference variable is used to access the object of a class

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

=

A

tilldelningsoperatorn

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

==

A

lika med

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

!=

A

“not”

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

<=

A

mindre än eller lika med

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

&&

A

“och”

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

||

A

“eller”

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

[]

A

index i en vektor

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

anropsparameter

A

skickas till metod via metodanrop

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

formell parameter (formal parameter)

A

en lokal variabel i en metod som finns med i parameterlistan. Den får sitt startvärde från anropsparametern vid metodanropet.

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

ny array

A

int arr[] = new int[10]

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

nyArrayList

A

ArrayList namn = new ArrayList();

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