Java
0 of 38 solved
38 questions
- == vs equals() (and the hashCode contract)StringsEasyConceptual
- Abstract class vs interfaceAbstractionMediumConceptual
- Autoboxing and the Integer cache trapData typesMediumConceptual
- Bank account with a custom checked exceptionException handlingMediumCoding
- Rotate an array to the right in placeArraysMediumCoding
- ArrayList vs LinkedListCollectionsMediumConceptual
- Comparable vs ComparatorCollectionsMediumConceptual
- Constructor chaining and initialisation orderConstructorsMediumConceptual
- Checked vs unchecked exceptionsException handlingMediumConceptual
- finally and try-with-resourcesException handlingMediumConceptual
- Why no multiple inheritance of classes? (diamond problem)InheritanceMediumConceptual
- Lambdas, functional interfaces and method referencesModern JavaMediumConceptual
- Streams: intermediate vs terminal operationsModern JavaMediumConceptual
- Classic switch vs switch expressionsControl flowMediumConceptual
- How does runtime polymorphism work in Java?PolymorphismMediumConceptual
- Rules for overriding and the @Override annotationPolymorphismMediumConceptual
- Why are Strings immutable? What is the string pool?StringsMediumConceptual
- How does HashMap work internally?CollectionsHardConceptual
