Ja, kann man!

1: remove(int index) : Removes the element at the specified position in this list

2: remove(Object o) : Removes a single instance of the specified element from this collection, if it is present

Also bei 1 wird ein beliebiges Objekt am Index index gelöscht, bei 2 ein Objekt, welches mit equals(o) true zurück gibt. Dieses Objekt kann auch ein Integer sein.

Probier mal ob TUHTET!

...zur Antwort

static: Eine statische Variable wird pro Klasse nur einmal angelegt, sie gilt für alle Instanzen der Klasse. final: final macht die Variable zu Konstanten, ihr Wert ist damit unveränderbar.

final static erzeugt also eine instanzübergreifende Konstante

...zur Antwort
Weitere Inhalte können nur Nutzer sehen, die bei uns eingeloggt sind.