tests/more_languages/group1/JavaTest.java
<filename>tests/more_languages/group1/JavaTest.java<gh_stars>0// JavaTest.java
class Person {
    private String name;

    Person(String name) {
        this.name = name;
    }

    void greet() {
        System.out.println("Hello, " + this.name);
    }
}
