U2L3- Attributes

What attributes does a Painter object have?
1 / 13
Slide 1: Open vraag
Ap csa10th Grade

In deze les zitten 13 slides, met interactieve quizzen, tekstslides en 1 video.

time-iconLesduur is: 30 min

Onderdelen in deze les

What attributes does a Painter object have?

Slide 1 - Open vraag

How were those attributes changed?

Slide 2 - Open vraag

Were we able to change them directly?

Slide 3 - Open vraag

Level 1: Predict: Accessing Attributes

Slide 4 - Tekstslide

What did you notice and wonder about the code in this program?

Slide 5 - Open vraag

When would encapsulation be useful?

Slide 6 - Open vraag

Why would we use the keyword public

Slide 7 - Open vraag

Why would we use the keyword private

Slide 8 - Open vraag

Slide 9 - Video

You just watched a video about instance variables and attributes. Get a paper and use the front side to advertise people about it

Slide 10 - Open vraag

Using the back, write 5 sentences of what you learned. If you have space, take notes

Slide 11 - Open vraag

1. unit guide
2. extra practice
3. CFU

Slide 12 - Tekstslide

access modifier - a keyword used to set the visibility of classes, variables, constructors, and methods
encapsulation - an object-oriented programming concept where the instance variables of a class are hidden from other classes and can be accessed only through the methods of the class
instance variable - a variable defined in a class that represents an attribute of an object

Slide 13 - Tekstslide