Basic Java Flashcards

1
Q

It allows developers to create Java programs that can be executed by the Java Runtime Environment (JRE).

A

JDK

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

What does JDK stand for?

A

Java Development Kit

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

A software used by a developer so that they can easily code in a certain programming language, has tons of features that can make programming easier.

A

IDE

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

What does IDE stand for?

A

Integrated development environment

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

A folder in a directory where we can throw all our related codes in the same directory.

A

Package

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

Are used to store temporary data to be used in our program’s runtime.

A

Variables

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

The type of data inside our variable

A

Data Type

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

Holds a Single character

A

Characters

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

Holds a set of characters/texts

A

String

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

Holds True or False

A

Boolean

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

It is the name of the variable that the programmer indicated it is used to Read and Write the variable.

A

Identifiers

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

The process of joining Strings together with the plus operator

A

Concatenation

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

Allows a program to take action based on the given condition. It makes our program smarter. Typically compares two values.

A

Conditional Statements

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

Handles 1 Conditional Expression, it either does something or nothing.

A

IF statement

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

Handles 2 Conditional Expressions, it either does the first Code Block or the second Code Block.

A

IF-ELSE statement

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

Handles 3 or More Conditional Expressions, the possibility of this Statements are limitless it will run a certain code block based on the condition

A

IF-ELSE IF- ELSE statement

17
Q

A conditional statement within a conditional statement.

A

Nested Conditional Statement

18
Q

A built in package that has many pre-written classes to help the programmer manage input, database, and etc.

A

Java API

19
Q

Java API has many pre-written classes to help the programmer manage input, database and etc.

A

Built in packages

20
Q

A package the helps programmers
handle inputs from the user.

A

java.util.Scanner

21
Q

It is similar to a conditional statement, but only checks for equality and only works with strings, char, int, and enums.

A

Switch Statements

22
Q

Which variables do Switch Statements only work with?

A

string, char, int, and enums

23
Q

Is used to define a “Case” in a switch statement

A

Case Keyword

24
Q

Often used to handle values that are not on a case. It is recommended that this keyword is used on the end of a switch statement.

A

Default Keyword

25
Q

Is used to break out of a switch statement or loop statements without executing the whole block of code inside it.

A

Break Keyword

26
Q

Used to display something in the console on the same line

A

System.out.print();