3. Java language syntax
View the presentation Java Language Syntax
Tasks
- Explore the jtm.activity03 package
- Run the unit tests of the package:
- Select the jtm.activity03 package and activate the Run– Run as–Junit test menu
- Check the test results in the JUnit window
- Read the comments and TODO and implement the methods to pass the unit tests
- It is advisable to implement the classes in the following order:
- Array
- BlackKnight
Some hints
- For debugging purposes, use System.out.print
- Read Debugging with Eclipse
- Read Eclipse key combinations
More information
- For detailed examples of Java syntax, see https://www.w3schools.com/java/.