Writing your first Java Program Flashcards

1
Q

When was Java released

A

1995

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Java Virtual Machine

A

ensures that the same java code can be run on different operating systems and platforms

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Syntax

A

The specific instructions that programming languages are composed of

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Programs

A

executed by the computer to perform specific tasks

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

each java file has a _____, which is always_______

A

class, capitalized

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is inside the class

A

Methods

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Method

A

Lists the programs tasks

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How to print “Hello World” on a line

A

System.out.println(“Hello World”)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Output Terminal

A

screen that outputs are displayed (usually by print)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

System

A

Java class that contains useful tools for programs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Out

A

Short for output

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Println()

A

Short for print line

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Comments

A

give notes to human readers which explains or organizes code

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

How to write a single line comment

A

//text

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

How to write a multi line comment

A

/*
* text
*/

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

How to write a Javadoc comment

A

/** and */

17
Q

What is a Javadoc comment

A

Used to create documentation for APIs

18
Q

Semicolons

A

Mark the end of a statement

19
Q

Compiled Programming Language

A

Code is transformed into another programming language the computer can read