Question: FOR AP CS, ITS ABOUT OBJECTS: methods instance variables Exercise A bunch of Java components, in full costume, are playing a party game, Who am

FOR AP CS, ITS ABOUT OBJECTS:

FOR AP CS, ITS ABOUT OBJECTS: methods instance variables Exercise A bunch

methods instance variables Exercise A bunch of Java components, in full costume, are playing a party game, "Who am 17" They give you a clue, and you try to guess who they are based on what they say. Assume they always tell the truth about themselves. If they happen to say something that could be true for more than one guy, then write down all for whom that sentence applies. Fill in the blanks next to the sentence with the names of one or more attendees. Tonight's attendees: instance variable, argument, return, getter, setter, encapsulation, public, private, pass by value, method Who am I? A class can have any number of these. A method can have only one of these. This can be implicitly promoted. I prefer my instance variables private. It really means 'make a copy'. Only setters should update these. A method can have many of these. I return something by definition. I shouldn't be used with instance variables. I can have many arguments. By definition, I take one argument. These help create encapsulation. I always fly solo. you are here

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!