Loading

Exercise Number: 2

Public Access Modifier

  1. Scenario: Extend the library system to have a public Library class that can be accessed from other packages.
    • Task: Create a Library class with a public method addBook and call this method from a class Main in a different package.