Warning

If it is not explicitly told in following recipe, setting up services are described for Ubuntu 24.04 server, but applications are described for Xubuntu 24.04 workstation. If you use different Ubuntu version or Linux distribution, settings as well as content, names and places of configuration files may be different!
Got it.

4. Principles of object-oriented programming

Prev
3. Java language syntax
Next
5. Inheritance and encapsulation
  1. Review the presentation Object-Oriented Programming Principles
  2. Explore the jtm.activity04 package
  3. Implement methods for the classes Road, Transport and TrafficManagementSystem to pass unit tests.

lightbulb Tip:
Start with the implementation of Road and Transport and only then implement TrafficManagementSystem, as it depends on the previous classes working correctly.

More information

Prev
3. Java language syntax
Next
5. Inheritance and encapsulation

 
 

Created by Valdis Vītoliņš on 2025-01-28 15:32
Last modified by Valdis Vītoliņš on 2026-01-28 21:38
XWiki Powered
Creative Commons Attribution 3.0 Unported License