Superclass/ parent class - Class that is extended, Subclass/child class - Class that inherits, Inheritance - Allows programmer to reuse data/behaviors from a parent class. Allows for generalization., Precise number of parent classes a subclass can have - 1, Constructors - Are NOT inherited, Overriding - Modifying a method in a subclass. Occurs when a public method in a subclass has the same method signature as a public method in the superclass., super() keyword - Used to call a superclass's constructors and methods, Polymorphism - Ability of a programming language to present the same interface for several different underlying data types., UML (Unified Modeling Language) - Diagram the shows classes & relationships between classes, extends keyword - Keyword used to make a subclass inherit from a superclass, Object Superclass - Superclass of all other classes in Java, toString() method - Used to print out the attributes of an object, .equals() method - test if two references point to an object with the exact same criteria (aliases of each other), == - Tests if two objects are the exact same object,
0%
Unit 9: Inheritance
Delen
Delen
Delen
door
Schoenikel
Inhoud Bewerken
Afdrukken
Embedden
Meer
Toewijzingen
Scorebord
Meer weergeven
Minder weergeven
Dit scoreboard is momenteel privé. Klik op
Delen
om het publiek te maken.
Dit scoreboard is uitgeschakeld door de eigenaar.
Dit scoreboard is uitgeschakeld omdat uw opties anders zijn dan die van de eigenaar.
Opties Herstellen
Verbinden
is een open template. Het genereert geen scores voor een scoreboard.
Inloggen vereist
Visuele stijl
Lettertypen
Abonnement vereist
Opties
Template wisselen
Alles weergeven
Er zullen meer templates verschijnen terwijl je de activiteit gebruikt.
Open resultaten
Kopieer link
QR-code
Verwijderen
Automatisch opgeslagen activiteit "
" herstellen?