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;
12 Cards in this Set
- Front
- Back
What does "JDK" stand for?
|
Java Development Kit
|
|
What does "IDE" stand for?
|
Integrated Development Environment.
The NetBeans IDE is a tool that can compile and run Java programs and a text editor to write those programs |
|
What does the 'class' statement do?
|
class HelloWorld {
Translated into English, this line means, "Computer, give my Java program the name HelloWorld." |
|
What does the 'main' statement do?
|
public static void main (String[] arguments) {
This line tells the computer, "The main part of the program begins here." Applets don't use the 'main' statement. |
|
Everything between squiggly bracket marks '{ and }' is called a what?
|
Everything between the squiggly bracket marks '{ and }' are part of the same group. Each group is called a block.
|
|
How do you create a comment?
|
By prefacing the line with two slashes:
// This is a comment |
|
What is an 'argument'?
|
Extra information sent to a program is called an 'argument'.
Te first argument, if there is one, is provided one space after the name of the application. Each additional argument also is separated by a space. |
|
What is a statement?
|
Computer programs are a set of instructions that tell the computer what to do. Each instruction is called a 'statement'.
The following is a statement: int highScore = 450000; |
|
What are expressions?
|
Some statements are called 'expressions' because they involve a mathematical expression and produce a result.
|
|
What two things must be included in a statement when creating a variable?
|
1. The name of the variable
2. The type of information the variable will store |
|
What type of variable is created using the 'int' part of this statement:
int number = 225 |
'int' declares the variable to be an integer
|
|
What type of variable is creates using the 'float' variable declaration:
float gradePointAverage = 2.5 |
'float' declares the variable to have a decimal place
|