Skip to main content
Dat 1. Sem Efterår 2025
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

Resources

Bonusmateriale

Tjek vores Toolbox sektion for flere ressourcer til Java:

Nøgleord

Tjek denne liste over nøgleord og deres definitioner, som vi bruger i undervisningen. Det er en god måde at teste din forståelse af de vigtigste begreber på.

  • class: A template for a new type of object.
  • instance: A member of a class. Every object is an instance of some class.
  • instantiate: Create a new instance of a class in the computer’s memory.
  • instance variable: An attribute of an object; a non-static variable defined at the class level.
  • information hiding: The practice of making instance variables private to limit dependencies between classes.
  • constructor: A special method that initializes the instance variables of a newly-constructed object.
  • shadowing: Occurs when a local variable or parameter has the same name as an attribute.
  • client: A class that uses objects defined in another class.
  • getter: A method that returns the value of an instance variable.
  • setter: A method that assigns a value to an instance variable.
  • override: Replacing a default implementation of a method, such as toString. instance method: