Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
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. |