Busy. Please wait.

show password
Forgot Password?

Don't have an account?  Sign up 

Username is available taken
show password


Make sure to remember your password. If you forget it there is no way for StudyStack to send you a reset link. You would need to create a new account.
We do not share your email address with others. It is only used to allow you to reset your password. For details read our Privacy Policy and Terms of Service.

Already a StudyStack user? Log In

Reset Password
Enter the associated with your account, and we'll email you a link to reset your password.
Didn't know it?
click below
Knew it?
click below
Don't know
Remaining cards (0)
Embed Code - If you would like this activity on your web page, copy the script below and paste it into your web page.

  Normal Size     Small Size show me how

Java Language 1

Object-Oriented Programming Concepts Pt 1 Objects

What is a real-world object? Something that has both state and behavior in varying amounts of complexity.
When referring to a real-world objects, what is meant by "state"? Specific aspects of an object that identify or describe that object for a moment or for the objects existence. H2O describes the chemical property of water that does not change. Solid, liquid, and gas are physical properties that can change.
What is "behavior" when discussing the characteristic of real-world objects? The ability of an object to perform (act, change) which may or may not be observable. Water can freeze or melt.
What to states does a simple lamp have? On and Off
What states does an simple radio have? On, Off, Current Volume, Current Station
What are the behaviors of a simple radio? turn on, increase volume, decrease volume, tune, turn on, turn off
What are the behaviors of a simple lamp? turn on, turn off
In programming, what is an object? A software bundle having related state and behavior.
Fields In what does an object store its "state"?
Methods Through what does an object expose its behavior?
What is "data encapsulation"? A fundamental principle of object-oriented programming where the internal state of an object is hidden, requiring all interaction to be performed through the object's "method".
What does "data encapsulation" enable? the ability to bundle code into individual software objects
Modularity Benefit #1 of bundling code. When creating many objects, this allows for the source code for each object to be written and maintained separately from the source code of the other objects.
separately maintained source code for each object which makes possible for the object to be passed around inside the system. Modularity means
Information-hiding - where the internal implementation of an object remains hidden from the outside world. A 2nd benefit of bundling code due to the nature of interacting only with an object,s methods.
By allowing the implementation, testing, and debugging of complex, task-specific objects that a person may want to use in their own program, that can then be added safely to run in your own code. How is code re-use helpful?
Code re-use The 3rd benefit of bundling code where objects that already exist can be implemented to run in your own code.
Pluggability and debugging ease Benefit #4 of bundling code is the ability to remove a problematic object from an application and replace it with a more suitable object.
M.I.C.P. Modularity. Info-hiding. Code re-use. Pluggability
Created by: deglaze



Use these flashcards to help memorize information. Look at the large card and try to recall what is on the other side. Then click the card to flip it. If you knew the answer, click the green Know box. Otherwise, click the red Don't know box.

When you've placed seven or more cards in the Don't know box, click "retry" to try those cards again.

If you've accidentally put the card in the wrong box, just click on the card to take it out of the box.

You can also use your keyboard to move the cards as follows:

If you are logged in to your account, this website will remember which cards you know and don't know so that they are in the same box the next time you log in.

When you need a break, try one of the other activities listed below the flashcards like Matching, Snowman, or Hungry Bug. Although it may feel like you're playing a game, your brain is still making more connections with the information to help you out.

To see how well you know the information, try the Quiz or Test activity.

Pass complete!

"Know" box contains:
Time elapsed:
restart all cards