Skip to content
#

access-modifiers

Here are 30 public repositories matching this topic...

Programming | Java | IntelliJ | Data Types - Primitive, Reference | String and its operations | Control Statements - For, ForEach, While, Switch-Case| OOPS concepts - Encapsulation, Inheritance, Polymorphism | Abstraction using Interface and Abstract class | Access Modifiers | Exception Handling | File Operations - READ, WRITE

  • Updated May 16, 2022
  • Java

Die Instanzvariablen der 'Dog'-Klasse sind als 'private' markiert. Ergänze für jedes Attribut eine 'setter'-Methode, um diese auch außerhalb der 'Dog'-Klasse verändern zu können. Erzeuge anschließend in der main-Methode der 'Main'-Klasse eine neue Instanz von 'Dog' und weise diese einer Variable zu. Der Hund hat Geburtstag, erhöhe sein Alter als…

  • Updated Dec 22, 2021
  • Java

Improve this page

Add a description, image, and links to the access-modifiers topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the access-modifiers topic, visit your repo's landing page and select "manage topics."

Learn more