Save
Busy. Please wait.
Log in with Clever
or

show password
Forgot Password?

Don't have an account?  Sign up 
Sign up using Clever
or

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.
Your email address is only used to allow you to reset your password. See 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.
focusNode
Didn't know it?
click below
 
Knew it?
click below
Don't Know
Remaining cards (0)
Know
0:00
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

Java Programming Language

TermDefinition
java programming language class based, object oriented, and compiles to bytecode and runs on JVM
conditional statements if, else if, nested, switch
if statement boolean followed by statements
if else statement if statement followed by else statement if boolean false
if else if statement tests various conditions
nested if statement if or else if statement inside another if or else if statement
switch statement value checked if it equals a list of values called cases
loop definition execute block of code multiple times
types of loops while, for, do while, enhanced for
while loop executes block of code until boolean is true
for loop executes code a set number of times
do while loop executes code until boolean false
enhanced for loop traverse collection elements like arrays
enhanced for loop declaration new variable used in code block
enhanced for loop expression array or collection being traversed
interface collection of methods that a class implements, all methods are public abstract, variables are public static final
difference between interface and class cannot be instantiated, no constructors, abstract methods, no instance fields, extend multiple interfaces
abstract class abstract and non abstract methods and is extended and implemented but can't be instantiated
exception object is subclass of throwable that wraps an error and contains info about error, state of program and custom info
exception types checked, unchecked
checked expression handled explicitly, expression throws exception or handles it otherwise program crashes, tested by compiler
unchecked expression not handled explicitly, doesn't throw exception, not tested by compiler
errors subclass of throwable where most conditions prevent the program from being recovered
catching exceptions use try catch finally block
keyword throws doesn't handle exception and throws another exception
keyword throw either catches or creates a new exception
keyword finally always executes code even if there is an exception
array contains elements of same type with fixed number of elements randomly accessed
queue ordered list of objects that uses fifo or first in first out
list expandable array with indexed contents and is built on an array with added functions
linked list expandable like a list but is node based
array list dynamic array that shrinks and grows, randomly accessed and implements list interface
set interface no duplicate elements and has methods from collections class
map interface uses key value pairing
static keyword makes variables and methods globally available to all classes, uses other static members, and uses dot notation
final keyword makes element immutable, methods can't be overridden, and classes can't be extended
constructor special method used to set initial value attributes and is called when object of class created
abstract keyword makes method or class a template, has no body, extended but can't be instantiated
stack like a list but enforces lifo or last in first out
graph node based that tracks child nodes and are bidirectional
binary search tree sorted tree where left child <= N < right child and is balanced when number of nodes on either side is almost equal
Created by: SuzaK
Popular Computers sets

 

 



Voices

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:
Retries:
restart all cards