Skip to content

HunorVadaszPerhat/java_lang_specs

Repository files navigation

JAVA Lang Specs

  • Access modifiers
    • Same class
    • Same package and subclass
    • Same package and non-subclass
    • Different package and subclass
    • Different package and non-subclass
  • Abstract class
    • Methods in abstract class
      • Abstract
      • Non-abstract
    • Fields in abstract class
      • Non-static and non-final
      • Final
      • Static
      • Static final
    • Constructors in abstract class
      • Constructor in abstract class
      • Usage of constructor in non-abstract class
    • Abstract class vs interface
  • Interface
    • Fields in interface
    • Constructors in interface
    • Methods in interface
    • Abstract class vs interface
  • Inner class
    • Anonymous inner class
    • Local inner class
    • Nested inner class
    • Static inner class
  • Sealed class
  • Static keyword
    • Static blocks
    • Static variables
    • Static methods
    • Static class
  • Final keyword
    • Final variables
    • Final methods
    • Final class
  • Generic class
    • Sigle type
    • Multiple types
  • Transient keyword
  • Method hiding
    • Instance method in subclass
    • Static method in subclass
    • The method of object
    • The method of class type
  • Super
    • Calling superclass constructor
    • Access superclass method variable
  • This
    • Constructor overloading
  • Dynamic Method Dispatch
  • Enum
    • Enum for-loop
    • Enum if-else
    • Enum switch case