Hiding certain methods from other packages November 25, 2022 by Tarik You can’t. In Java there is no concept of a subpackage, so odp.proj and odp.proj.test are completely separate packages.