Variable or method accessible in all the package?

I want to be able to have a variable and/or a method that’s available to all the classes inside a package.
What would be the best way to achieve that?