• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

How to study your flashcards.

Right/Left arrow keys: Navigate between flashcards.right arrow keyleft arrow key

Up/Down arrow keys: Flip the card between the front and back.down keyup key

H key: Show hint (3rd side).h key

A key: Read text to speech.a key

image

Play button

image

Play button

image

Progress

1/9

Click to flip

9 Cards in this Set

  • Front
  • Back
What is a stream?
An object that either delivers or takes data to or from a source.
What is a text file and its purpose?
A file which can be read and wrote to using an editor; they are designed for storing data in text format permenantly until modified.
What is an icon and how is it used in Java?
A picture which can be used in Java as an ImageIcon to convert a picture file in to a java Swing icon.
What is a constructor?
A constructor must have the same name as the class to which it belongs.
A method that is called when an object of the class is created using new.
Constructors are used to initialize objects.
What is a default constructor?
A constructor with no parameters.
What is a wrapper class?
A class used to produce objects of the class of each primitive type. Also contains a library for each primitive type with useful static methods such as parseInt.
What is a Java package?
A collection of classes that have been grouped together into a directory.
What is stub code?
A simplified version of a method that is good enough for testing to be sure that it is correct.
Breakdown the meaning of public static void main(String[] args)
public entails that it is open to access from other classes
static method can be invoked without using any object
main is a method that takes an array of String values as an argument.