Java · Starter
The basics: what a thing is and what it's for.
Which keyword is used for class inheritance in Java?
What is the default value of an uninitialized boolean instance variable in Java?
Which method should be overridden to provide a custom string representation of an object?
What is the purpose of the `public static void main(String[] args)` method?
What does the `final` keyword do when applied to a variable in Java?
What does the `this` keyword refer to inside an instance method?
What does the `static` keyword mean when applied to a method?
What is the purpose of a constructor in Java?
What does the `instanceof` operator check?
What is the key difference between the primitive type `int` and the wrapper class `Integer`?
What does the `import` statement do in a Java source file?
What is the purpose of access modifiers like `private`, `public`, and `protected` in Java?
What is the difference in default duplicate-handling between an `ArrayList` and a `HashSet`?
What does `null` represent when assigned to an object reference variable?
What is the difference between a Java array and an ArrayList regarding size?
What does the `break` statement do inside a loop?
What does the `continue` statement do inside a loop?
What is a package in Java used for?
What does the `abstract` keyword mean when applied to a class?
What is the purpose of a `for-each` loop (`for (Type item : collection)`) compared to a traditional indexed for loop?