This is how we get the size of an array named "arr".
What is arr.length?
This method is executed when you create, or instantiate, a new object
What is a constructor?
This is how we get a count of the number of characters in a String called "str".
What is a str.length() ?
This is what we call the data type that can only be one of two values: true or false.
What is boolean?
What is recursion?
This is how we get the length of an ArrayList called "list".
What is list.size()?
This is what we call methods that are used to modify and access the values of instance fields.
What are setters and getters?
This is how we get the first character of String called "str".
What is str.charAt(0) ?
This is the operator to increment a variable by 1.
What is ++?
This is the return type of a method that doesn't return anything.
What is void?
This is how we declare and initialize an array of ints, called "nums," with length 10 in java.
What is int[] nums = new int[10]; ?
This is the keyword that refers to the current instance of an object.
What is "this"?
This is the name for when sticking two strings together with the "+" sign.
What is concatenation?
These are the operators for logical "and" and "or."
What are && and || ?
This is what we call the condition(s) in a recursive function that makes sure the recursion stops and doesn't go on forever.
What is the base case?
This is how we get the element in the 2nd row and 3rd column of a 2d array called "nums".
What is nums[1][2]?
This is the term for when a more than one method shares the same name, but they have different types or numbers of parameters.
What is overloading?
This how you would get the substring "rld" from String str = "world";
What is str.substring(2,5) ?
These are the TWO primitive data types that can represent decimals in Java.
What are double and float?
This is what we call it when Java automatically converts primitive values into an object of the corresponding wrapper type.
What is autoboxing?
This is what we call an object type that contains a primitive Java type so it can be used in an ArrayList.
What is a wrapper type (or wrapper class)?
This keyword is used to write methods that can be called without constructing an object.
What is static?
This is how we could check if a character, char c, is a number.
What is %?
This is the signature (all keywords/specifiers and parameters) of the main method in java.
What is public static void main(String[] args) ?