Chapter 6: Problem 6
What values do reference variables hold?
Chapter 6: Problem 6
What values do reference variables hold?
All the tools & learning materials you need for study success - in one app.
Get started for freeA string literal, such as "Joe", causes what type of object to be created?
You hear someone make the following comment: "A blueprint is a design for a house. A carpenter can use the blueprint to build the house. If the carpenter wishes, he or she can build several identical houses from the same blueprint." Think of this as a metaphor for classes and objects. Does the blueprint represent a class, or does it represent an object?
What is a problem domain?
How is the relationship between an object and a reference variable similar to a kite and a spool of string?
In this chapter we used the metaphor of a kite attached to a spool of string to describe the relationship between an object and a reference variable. In this metaphor, does the kite represent an object, or a reference variable?
What do you think about this solution?
We value your feedback to improve our textbook solutions.