Basic Java Flashcards
It allows developers to create Java programs that can be executed by the Java Runtime Environment (JRE).
JDK
What does JDK stand for?
Java Development Kit
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.
IDE
What does IDE stand for?
Integrated development environment
A folder in a directory where we can throw all our related codes in the same directory.
Package
Are used to store temporary data to be used in our program’s runtime.
Variables
The type of data inside our variable
Data Type
Holds a Single character
Characters
Holds a set of characters/texts
String
Holds True or False
Boolean
It is the name of the variable that the programmer indicated it is used to Read and Write the variable.
Identifiers
The process of joining Strings together with the plus operator
Concatenation
Allows a program to take action based on the given condition. It makes our program smarter. Typically compares two values.
Conditional Statements
Handles 1 Conditional Expression, it either does something or nothing.
IF statement
Handles 2 Conditional Expressions, it either does the first Code Block or the second Code Block.
IF-ELSE statement
Handles 3 or More Conditional Expressions, the possibility of this Statements are limitless it will run a certain code block based on the condition
IF-ELSE IF- ELSE statement
A conditional statement within a conditional statement.
Nested Conditional Statement
A built in package that has many pre-written classes to help the programmer manage input, database, and etc.
Java API
Java API has many pre-written classes to help the programmer manage input, database and etc.
Built in packages
A package the helps programmers
handle inputs from the user.
java.util.Scanner
It is similar to a conditional statement, but only checks for equality and only works with strings, char, int, and enums.
Switch Statements
Which variables do Switch Statements only work with?
string, char, int, and enums
Is used to define a “Case” in a switch statement
Case Keyword
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.
Default Keyword
Is used to break out of a switch statement or loop statements without executing the whole block of code inside it.
Break Keyword
Used to display something in the console on the same line
System.out.print();