Examples of Java code for students 4AIN & 4BIN.
- Basic knowledge of C++ syntax (no OOP needed)
- Programming tools (see here)
example | topic |
---|---|
Hello.java | basic program |
Punto.java | basic class and test program |
Accessibility | Member accessibility |
Arrays | Arrays utilities |
Static | Static keyword |
Inheritance | Inheritance examples |
Exceptions | Exceptions |
Enums | Enum classes |
Interfaces | Interfaces and abstract classes |
Collections | Collections |
Streams | Streams |
Structures | Strutture dati |
exercise | topic | solution |
---|---|---|
Cronometro | Simple class, attributes and methods | N/A yet |