Ligj 4 Flashcards

1
Q

Cka eshte nje klase statike?

A

Nje klase statike eshte nje klase qe deklarohet me keyword static, dhe nuk mund te krijohen instanca te saj, dhe nuk mund te behet inherit

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

cka jane access modifiers

A

access modifiers specifikojne qasshmerine e tipeve(klasat, interfejsat) dhe pjestareve te tipeve(fushat, metodat)

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

Cilat jane llojet bazike te access modifiers ne c#

A

public, private, protected dhe internal

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

cili eshte funksioni i internal modifier?

A

internal access modifier ben qe tipi ose anetari i tipit te qaset vetem ne te njejtin assembly

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

cka eshte encapsulation?

A

kur nje anetari te nje tipi i vendoset access modifier ‘private’ kjo njihet si enkapsulim

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

kur nje klase konsiderohet immutable?

A

nje klase eshte immutable kur te gjithe data fields te saj jane private dhe nuk ka asnje mutator method(metode setter) publike per ato data fields dhe gjithashtu accessor methods(get metodat) nuk lejojne hapesire per ndryshime nepermjet referencave

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

cilat jane shtyllat e programimit object oriented?

A

Trashegimia, Enkapsulimi, Abstraksioni, polimorfizmi

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

cilat jane shtyllat e programimit object oriented?

A

Trashegimia, Enkapsulimi, Polimorfizmi, Abstraksioni.

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