Erstmal nur eine Antwort
Frage 5: Pakete und Importdeklarationen
| Importmöglichkeit 1 | Importmöglichkeit 2 |
Datei 1:
package Entfernt;
public class Punkt {
...
}Datei 2:
package Nahe;
public class Punkt {
...}
Datei 3:
package Nahe;
import Entfernt;
|
Datei 1:
package Entfernt;
public class Punkt {
...
}Datei 2:
package Nahe;
public class Punkt {
...}
Datei 3:
package Nahe;
|
- Printer-friendly version
- Log in to post comments
- 2805 views