Conditionals
Polymorphism/Inheritance
Debugging
Loops
100

What keyword is used to start a conditional statement in Java?

What is "if"?

100

What is the ability of different classes to be treated as instances of the same class through inheritance called?

What is "polymorphism"?

100

What tool is used to set a breakpoint and inspect the state of your program?

What is a "debugger"?

100

What keyword is used to start a loop that iterates a specific number of times?

What is "for"?

200

What conditional operator checks if two values are equal?

What is "=="?

200

What keyword is used in Java to inherit from a parent class?

What is "extends"?

200

What Java statement is used to help debug code by printing information to the console?

What is "System.out.println()"?

200

Which keyword is used to start a loop that continues until a condition is false?

What is "while"?

300

Which Java statement is used to execute code if the condition is false?

What is "else"?

300

Which method is called automatically when an object is created?

What is the constructor method?

300

What Java Integrated Development Environment (IDE) provides powerful debugging features?

What is "Eclipse" or "IntelliJ IDEA"?

300

What keyword is used to create an infinite loop, intentionally or accidentally?

What is "while(true)"?

400

What keyword can be used to check multiple conditions sequentially?

What is "else if"?

400

What is it called when a child class has a method with the same name as a parent class method but different functionality?

What is "method overriding"?

400

What is the term for errors that occur during program execution, often caught and handled using try-catch blocks?

What are "runtime errors"?

400

What loop structure can be used to iterate over a collection or array in Java?

What is "for-each loop"?

500

How can you combine multiple conditions in a single if statement

What are "&&" and "||" operators?

500

What built-in Java function checks if an object is an instance or subclass of a class?

What is "instance of"?

500

What is the term for tracing through the execution of code to find logical errors?

What is "code tracing"?

500

What built-in function generates a sequence of numbers, often used in loops?

What is "for(int i = 0; i < n; i++)"?