Java
0 of 38 solved
38 questions
- Encapsulation vs abstractionAbstractionEasyConceptual
- Arrays in Java: declaration, defaults and pitfallsArraysEasyConceptual
- JDK vs JRE vs JVMJava platform basicsEasyConceptual
- Why is Java called platform independent?Java platform basicsEasyConceptual
- Explain public static void main(String[] args)Java platform basicsEasyConceptual
- Primitive types vs reference typesData typesEasyConceptual
- Compress repeated letters with StringBuilderStrings and StringBuilderEasyCoding
- Palindrome check that ignores case and punctuationStrings and Character methodsEasyCoding
- Count words and print them in sorted order (TreeMap)Collections: MapEasyCoding
- Second-highest distinct value in one passArraysEasyCoding
- Multiply two matrices with 2-D arraysArrays (2-D)EasyCoding
- Implement a fixed-capacity stack with an arrayClasses and arraysEasyCoding
- Constructors: default, no-arg and parameterisedConstructorsEasyConceptual
- final variables, methods and classesInheritanceEasyConceptual
- The four pillars of OOP in JavaOOP conceptsEasyConceptual
- Access modifiers: private, default, protected, publicOOP conceptsEasyConceptual
- The this and super keywordsOOP conceptsEasyConceptual
- break vs continue (and labelled break)Control flowEasyConceptual
- while vs do-while vs for-eachControl flowEasyConceptual
- String vs StringBuilder vs StringBufferStringsEasyConceptual
