CSA Unit 1 Lesson 4 Guided Notes
CSA Unit 1 Lesson 4 Guided Notes
The memory in a computer is like the land a house is built on as it helps tore source code and other
compiling software that helps overall run the code
What is the relationship between a Painter object and the Painter class?
The Painter class is the “group” in which the singular object “Painter” is stored.
1
CSA Unit 1 Guide
Reflection
Question of the Day: How do I create objects from a class?
You create objects from a class by calling the constructor and assigning a value to it through
the class name (eg. Student saanvi = new Student(); → the constructor goes at the end and
the name of the class and object name goes before the equal sign or assigner).
Now that you know about classes and objects in Java, what type of program are you looking forward to
creating? What objects would you represent in your program?
I am looking forward to creating a mouse and cheese game using classes and objects in Java and my
prior knowledge of coding. Objects such as a mouse, cheese blocks, and wall blocks would be
represented.