Exam Questions and Verified Answers |
Already Graded A+
Objects have two properties. One is state. What is the other? - 🧠ANSWER
✔✔Behavior
The state of an object is stored in _____ _____ - 🧠ANSWER ✔✔Instance
variables
The behavior of an object is represented by ______ ______ - 🧠ANSWER
✔✔Instance methods
The job of a _____ is to initialize instance variables at the time an object is
created. - 🧠ANSWER ✔✔Constructor
Nested inside a class declaration are three kinds of declarations. What are
they? - 🧠ANSWER ✔✔Constructor declarations