Resources
- Coding with John: Java Main Method Explained - What Does All That Stuff Mean?
- Getting to know the Command Line
- Geeksforgeeks: Scanner (+the scanner bug)
- ThinkJava: Læs kapitel 11
- docjava.dk: objektorienteret programmering
1.docjava.dk: Do you speak Java? Repetition om compiling og JVM 2.Baeldung: Java main() method 3.Hello world guide 4. docjava.dk: Klasser
- 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: