Fork me on GitHub

Introduction to Object-Oriented Programming with SARL

Note If you don’t know how to solve an problem, or what is the function to be used, you could search on Internet for the answer using the API of the Java programming language. Indeed, since SARL is fully compatible with the Java API, you could use all the types or functions that are defined in this Java API.

1. Exercise 1

Answer

2. Exercise 2

Answer

3. Exercise 3

Answer

4. Exercise 4

Answer

5. Exercise 5

Answer

6. Exercise 6

Answer

7. Exercise 7

Answer

8. Exercise 8

Answer

9. Exercise 9

Answer

10. Exercise 10

Answer

11. Exercise 11

Answer

12. Exercise 12

Answer

13. Version Specification

Copyright © 2014-2025 SARL.io, the Original Authors and Main Authors.

Documentation text and medias are licensed under the Creative Common CC-BY-SA-4.0; you may not use this file except in compliance with CC-BY-SA-4.0. You may obtain a copy of CC-BY-4.0.

Examples of SARL code are licensed under the Apache License, Version 2.0; you may not use this file except in compliance with the Apache License. You may obtain a copy of the Apache License.

You are free to reproduce the content of this page on copyleft websites such as Wikipedia.

Generated with the translator docs.generator 0.15.1.