Java 1
Java 2
Java 3
Java 4
Java 5
100

Software that translates Java source code into a Java class file


What is a Compiler?

100

 A name associated with a memory location in the computer


What is a Variable?

100

A named block of code that only runs when it is called.


What is a method?

100

A method that keeps calling itself?

What is recursion?

100

Non void methods must include this statement.

What is a return?

200

This is the starting point of execution in a Java program

What is the Main method?

200

This data type represents an expression that can be either true or false

What is boolean?

200

Process of changing the type of a variable 

What is Casting a Variable?

200

What does it mean to declare a variable?

What is specifying the type and name for a variable?

200

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 -?*

300

 A sorting algorithm that employs the "divide-and-conquer" strategy.

What is Merge sort?

300

What is it called when you first set the value of a variable?


What is Initializing a Variable?

300

What do we call it when multiple methods have the same name but different signatures?


What is method overloading?

300

A template or blueprint for creating objects.

What is a class ?

300

This type of error is found during the compilation process

What is a Compiler or syntax error?

400

What is the term for a value that is passed into a method when it is called?

What is an argument?

400

This determines the size of memory reserved for a variable

What is the data type?

400

Creating new classes (subclasses or derived classes) based on existing classes (superclasses or base classes).

What is Inheritance?

400

A systematic attempt to crack a password testing with words and phrases.

What is a Dictionary Attack?

400

A simple sorting algorithm that works by building a sorted array one element at a time by comparing the elements.

What is insertion sort?

500

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

500

Bundling data (attributes) and methods that operate on the data into a single unit (class)

What is encapsulation?

500

A method in Java that belongs to the class itself rather than any specific instance (object) of the class.

What is a static method?

500

Double Jeopardy

What are the three laws of recursion?


  1. A recursive algorithm must have a base case.

  2. A recursive algorithm must change its state and move toward the base case.

  3. A recursive algorithm must call itself recursively.

500

In a method header, public/private or protected are called

What is an access specifier?