import com.Employee;
public class Hello {
public static void main(String[] args) {
Person p = new Person("John Doe11");
Employee e = new Employee("John Doe");
System.out.println("Hello, " + e.getName() + "!");
System.out.println("Hello, world!");
System.out.println("Hello, " + p.getName() + "!");
}
}
public class Person {
private String name;
public Person(String name) {
this.name = name;
}
public String getName() { return name; }
}