| Title | Open | ||||
|---|---|---|---|---|---|
| 1 | Default int ValueWhat is the default value of an int instance variable in Java? | easy | Not started | Variables | Solve |
| 2 | Inheritance KeywordWhich keyword is used to inherit a class in Java? | easy | Not started | Classes | Solve |
| 5 | Array LengthWhat is the output of this code? | easy | Not started | Arrays | Solve |
| 6 | Default ConstructorWhat happens if a class does not have an explicit constructor? | easy | Not started | Classes | Solve |
| 7 | Random RangeWhat expression generates a random integer between 1 and 10 (inclusive)? | easy | Not started | Methods | Solve |
| 26 | Multiple Prints Same LineWhat is the output of the following code? | easy | Not started | Printing | Solve |
| 27 | Generic Type ParameterWhat does <T> represent in the class declaration class Box<T> {}? | easy | Not started | Generics, Classes | Solve |
| 28 | Instantiating a Generic ClassGiven the generic class below, which line correctly creates a Box that holds a String? | easy | Not started | Generics, Classes | Solve |
| 29 | Valid Generic Method SignatureWhich of the following is a correctly declared generic method signature in Java? | easy | Not started | Generics, Methods | Solve |
| 30 | Generic Class OutputWhat does this code print? | easy | Not started | Generics, Classes | Solve |
| 37 | JavaFX StageIn JavaFX, what does a Stage represent? | easy | Not started | JavaFX | Solve |
| 38 | JavaFX Entry PointWhich method must you override to launch a JavaFX application? | easy | Not started | JavaFX | Solve |
| 39 | Button Click HandlerWhat happens when the user clicks the button in this code? | easy | Not started | JavaFX | Solve |
| 40 | VBox Layout DirectionHow does a VBox arrange its children in JavaFX? | easy | Not started | JavaFX | Solve |
| 41 | TextField InputA user types "Hello" into a TextField. | easy | Not started | JavaFX | Solve |
| 42 | Event Handler PurposeWhat does the setOnAction() method do on a JavaFX Button? | easy | Not started | JavaFX | Solve |
| 43 | Scene in JavaFXWhat is the role of a Scene in a JavaFX application? | easy | Not started | JavaFX | Solve |
| 44 | Reading a Scene GraphWhat does this code display in the window? | easy | Not started | JavaFX | Solve |
| 45 | Window Not AppearingThis JavaFX app compiles and runs but no window appears. | easy | Not started | JavaFX | Solve |
| 46 | Inline CSS StylingWhat does this line of code do? | easy | Not started | JavaFX | Solve |
| 57 | HBox LayoutWhat does this code produce? | easy | Not started | JavaFX | Solve |
| 58 | Prompt TextWhat does setPromptText() do on a TextField? | easy | Not started | JavaFX | Solve |
| 59 | CheckBox StateWhat does this code print when the user checks the box? | easy | Not started | JavaFX | Solve |
| 60 | Padding with InsetsWhat does setPadding() do in this code? | easy | Not started | JavaFX | Solve |
| 61 | StackPane LayersHow does a StackPane arrange its children? | easy | Not started | JavaFX | Solve |
| 3 | Loop OutputWhat is the output of this code? | medium | Not started | Loops | Solve |
| 4 | String ComparisonWhat is the output of this code? | medium | Not started | Strings | Solve |
| 8 | Switch to If ElseWhich if-else statement is equivalent to the given switch statement? | medium | Not started | Conditionals | Solve |
| 9 | Count Zeros MethodWhat does this method return when called with countZeros({1, 0, 2, 0, 3})? | medium | Not started | Arrays | Solve |
| 10 | Sign Method OutputWhat does this method return when called with getSign(-5)? | medium | Not started | Methods | Solve |
| 11 | Array Length vs String LengthWhat is the difference between using .length for arrays and .length() for strings? | medium | Not started | Strings | Solve |
| 12 | Base Case for PowerWhich is the correct base case for a recursive power function power(base, exponent)? | medium | Not started | Methods | Solve |
| 13 | Sphere VolumeA Sphere class has a constructor that takes a radius. | medium | Not started | Classes | Solve |
| 14 | Count Letter AWhat does this code output? | medium | Not started | Loops | Solve |
| 16 | next vs nextLineWhen the input is just hello on one line (nothing after it), what will be printed by this program? | medium | Not started | Scanner | Solve |
| 17 | Random Integer RangeWhich line generates an integer from 30 to 45 inclusive using rng? | medium | Not started | Methods | Solve |
| 18 | String ImmutabilityWhat is printed? | medium | Not started | Strings | Solve |
| 19 | Array AliasingWhat is printed? | medium | Not started | Arrays | Solve |
| 20 | Loop TotalWhat is the final value of sum after the loop finishes? | medium | Not started | Loops | Solve |
| 21 | Switch Fall ThroughWhat is printed when x is 2? | medium | Not started | Conditionals | Solve |
| 22 | Method Overloading PickWhich method is called by printValue(5)? | medium | Not started | Methods | Solve |
| 23 | Constructor and FieldsWhat is printed? | medium | Not started | Classes | Solve |
| 24 | Enhanced For Loop ChangeWhat is printed? | medium | Not started | Arrays | Solve |
| 25 | Integer Division ResultWhat is printed? | medium | Not started | Methods | Solve |
| 31 | Bounded Type ParameterWhat does the type constraint <T extends Number> mean when used as a generic type parameter? | medium | Not started | Generics, Classes | Solve |
| 32 | Generic Max MethodWhat does this generic method return when called as max(3, 7)? | medium | Not started | Generics, Methods | Solve |
| 33 | Multiple Type ParametersWhich declaration correctly defines a generic class with two independent type parameters? | medium | Not started | Generics, Classes | Solve |
| 34 | Upper Bounded WildcardWhich statement about a parameter typed as List<? | medium | Not started | Generics, Methods | Solve |
| 35 | Generic Method Type InferenceWhat does this code print? | medium | Not started | Generics, Methods | Solve |
| 47 | Counter Button LogicWhat happens each time the button is clicked? | medium | Not started | JavaFX | Solve |
| 48 | Node in Two ParentsWhat happens when this code runs? | medium | Not started | JavaFX | Solve |
| 49 | BorderPane LayoutWhat layout does this code produce? | medium | Not started | JavaFX | Solve |
| 50 | GridPane Cell PositionWhere does the Button appear in the grid? | medium | Not started | JavaFX | Solve |
| 51 | Background Thread UI UpdateThis code throws an IllegalStateException at runtime. | medium | Not started | JavaFX | Solve |
| 52 | Property BindingWhat does this property binding do? | medium | Not started | JavaFX | Solve |
| 53 | RadioButton ToggleGroupWhat does the ToggleGroup do in this code? | medium | Not started | JavaFX | Solve |
| 54 | Missing ChildrenThe window appears but is completely blank. | medium | Not started | JavaFX | Solve |
| 55 | ComboBox SelectionWhat does this code do when the user selects a color from the dropdown? | medium | Not started | JavaFX | Solve |
| 56 | ObservableList and ListViewAfter the "Add" button is clicked once, then the "Remove" button is clicked once, what does the ListView display? | medium | Not started | JavaFX | Solve |
| 62 | Scene SwitchingWhat happens when the "Go to Page 2" button is clicked? | medium | Not started | JavaFX | Solve |
| 63 | VBox AlignmentWhere do the children appear in the window? | medium | Not started | JavaFX | Solve |
| 64 | Alert DialogWhat does this code do when the button is clicked? | medium | Not started | JavaFX | Solve |
| 65 | KeyEvent HandlerWhat does this code do? | medium | Not started | JavaFX | Solve |
| 66 | FXML Controller WiringWhat does the @FXML annotation do in a JavaFX controller class? | medium | Not started | JavaFX | Solve |
| 15 | Evenly DivisibleWhat does this method return for isEvenlyDivisible(20, 7)? | hard | Not started | Methods | Solve |
| 36 | Raw Type and ClassCastExceptionThis code compiles (with an unchecked warning suppressed). | hard | Not started | Generics, Classes | Solve |