package pack; import pkg.Hello; public class MainClass { public static void main(String[] args) { new Hello().sayHello(); } }