This datatype enjoys pi.
double
This class is imported to allow user input from the keyboard.
import java.util.Scanner;
This statement performs a true or false evaluation once.
if statement
A brew, joe, or coffee.
Java
This is the only correct way to compare the actual content of two String objects in Java (not their references).
str1.equals( str2 )
The syntax of the main method.
public static void main(String[] args)
Which class(es) are imported to allow the program to read from disk?
import java.io.FileReader;
import java.io.BufferedReader;
import java.io.IOException;
This loop is used when the number of times to iterate are finite but unknown.
while loop
Shorthand notation to increment by 1
++
This simple operator lets concatenate strings together
+
All datatypes except String are of this type.
primitive datatypes
This keyword is used whenever a program requires input and/or output from disk.
throws
This loop should be used when the number of iterations is known ahead of time
A formal set of rules, syntax, and commands used by humans to write instructions that control computer behavior
programming language
This method requires an integer that designates the index of the character that should be returned.
charAt
This method retrieves exactly one line from the file.
bufferedReader.readLine()
Name the three parts for any loop
initialization variable, condition, update
Daily Double!
a modern software development approach where users create applications by describing desired functionality in plain English to AI, rather than writing code manually
vibe coding
This method returns the number of characters in a string variable.
.length()
This term designates words that are reserved by the programming language for specific purposes.
keywords
What technique is necessary to output a character that is necessary to maintain file format when writing to disk?
or bw.newLine();
Evaluate:
if( 53 % 3 > 1)
true
BoomAgain.java
55
Why is a method required to compare Strings rather than ==?
To compare the contents of the String rather than the reference or address/space in memory.