Definitions

Primary tabs

No Description Set

Subjects: 

Bookmark to learn: Login to use bookmarks.

Bookmark to learn: Login to use bookmarks.

Add to collection ... add Definitions to your collections:

Help using Flashcards ...just like in real life ;)

  1. Look at the card, do you know this one? Click to flip the card and check yourself.
  2. Mark card Right or Wrong, this card will be removed from the deck and your score kept.
  3. At any point you can Shuffle, Reveal cards and more via Deck controls.
  4. Continue to reveal the wrong cards until you have correctly answered the entire deck. Good job!
  5. Via the Actions button you can Shuffle, Unshuffle, Flip all Cards, Reset score, etc.
  6. Come back soon, we'll keep your score.
    “Repetition is the mother of all learning.”
  7. Signed in users can Create, Edit, Import, Export decks and more!.

Bookmark to learn: Login to use bookmarks.

Share via these services ...

Email this deck:

Right: #
Wrong: #
# Right & # Wrong of #

What is an Object

An instance of a Java class.
Memory is allocated as soon as an object is created
Can create as many objects as neccesary.
Class = car.. Object = Subaru, BMW, Ford

What is a Class

Used to create Objects
defines Objects data types, and methods
Allocates no memory
Can only be declared once
Class = car .. Object = BMW, Subaru, Ford

What is a Method

A block of code that only runs when it is called.
Has parameters (data) passed into it
Used to perform certain functions (actions)
Write the code once, use it over and over.

Enumerators

a data type that allows you to traverse a collection. (example: for each loop)

Constructor

A special method used to initiate objects
arrayNam[ ] <--- ............ list( ) <---

args
example:
public static void main(String[] args)

args is a string array, containing the "arguments", or input, from the command line, that is used to configure the application or program.

Stack memory

stores temporary data that is created by a function
when the function is complete, the data is erased
LIFO (last in first out)
methods, local variables reference variables

Heap memory

stores global variables
Dynamic memory allocation (allotting memory blocks/cells as they are needed, removes waste)

Primitive Variables

byte, short, long, int, float, double, char.
store the actual value of the data
Primitive variables are stored in stack memory

Reference variables

Class, Object, Array,
stores the location of the data within the memory
uses Heap memory

Wrapper class

a class that 'wraps around' a primitive data type, making it appear like an object, so that it can interact with additional methods (such as parseInt(), valueOf() etc)

Autoboxing

procedure of converting primitive data type, to an object, of the corresponding wrapper class.

Subjects: