When a method or a instance-variable is defined as 'public', it is accessible from any part of the program.
Ist eine Mehtode oder die Variable einer Instanz als 'public' definiert, so kann auf sie von jedem Teil des Programmes aus zugegriffen werden.
Other results
Suggestion that no instance variables have been specified for the given class.
Hinweis, dass für die angegebene Klasse keine Instanzvariable spezifiziert wurde.
The instance variable retains its value as long as the object exists.
Die Instanzvariable behält ihren Wert, solange das Objekt existiert.
The class must define the instance variable before it can be used.
Die Klasse muss die Instanzvariable definieren, bevor sie verwendet werden kann.
When creating an object, the instance variable is automatically assigned a value.
Wenn ein Objekt erstellt wird, wird der Instanzvariable automatisch ein Wert zugewiesen.
You can access the instance variable directly from any method within the class.
Sie können von jeder Methode innerhalb der Klasse direkt auf die Instanzvariable zugreifen.
In encapsulation, the instance variable is often kept private for security.
Bei der Kapselung wird die Instanzvariable oft aus Sicherheitsgründen privat gehalten.
The instance variable can be public, private, or protected based on the design.
Die Instanzvariable kann je nach Design öffentlich, privat oder geschützt sein.
Potentially sensitive or inappropriate content
Examples are used only to help you translate the word or expression searched in various contexts. They are not selected or validated by us and can contain inappropriate terms or ideas. Please report examples to be edited or not to be displayed. Potentially sensitive, inappropriate or colloquial translations are usually marked in red or in orange.