Software that translates Java source code into a Java class file
What is a Compiler?
A name associated with a memory location in the computer
What is a Variable?
A named block of code that only runs when it is called.
What is a method?
A method that keeps calling itself?
What is recursion?
Non void methods must include this statement.
What is a return?
This is the starting point of execution in a Java program
What is the Main method?
This data type represents an expression that can be either true or false
What is boolean?
Process of changing the type of a variable
What is Casting a Variable?
What does it mean to declare a variable?
What is specifying the type and name for a variable?
How can operator precedence affect the outcome of an expression?
What is it determines which operators are evaluated first, for instance, *, /, % have precedence over + and -?*
A sorting algorithm that employs the "divide-and-conquer" strategy.
What is Merge sort?
What is it called when you first set the value of a variable?
What is Initializing a Variable?
What do we call it when multiple methods have the same name but different signatures?
What is method overloading?
A template or blueprint for creating objects.
What is a class ?
This type of error is found during the compilation process
What is a Compiler or syntax error?
What is the term for a value that is passed into a method when it is called?
What is an argument?
This determines the size of memory reserved for a variable
What is the data type?
Creating new classes (subclasses or derived classes) based on existing classes (superclasses or base classes).
What is Inheritance?
A systematic attempt to crack a password testing with words and phrases.
What is a Dictionary Attack?
A simple sorting algorithm that works by building a sorted array one element at a time by comparing the elements.
What is insertion sort?
Double jeopardy
What are the default values of following as Array elements.
int -
double -
Boolean -
String -
Array elements are initialized to default values like the following.
0 for elements of type int
0.0 for elements of type double
false for elements of type boolean
null for elements of type String
Bundling data (attributes) and methods that operate on the data into a single unit (class)
What is encapsulation?
A method in Java that belongs to the class itself rather than any specific instance (object) of the class.
What is a static method?
Double Jeopardy
What are the three laws of recursion?A recursive algorithm must have a base case.
A recursive algorithm must change its state and move toward the base case.
A recursive algorithm must call itself recursively.
In a method header, public/private or protected are called