Files
Leonid Shalupov 40795fe787 IJI-2422: community/java: move resources under resources root
GitOrigin-RevId: 8b2b63fc6db476ca0c2cfe5cadd84db6c4236d0f
2025-02-05 04:43:28 +00:00

14 lines
296 B
Plaintext

class Foo {
private String firstName;
<spot>private</spot> Foo(String firstName) {
this.firstName = firstName;
}
static Foo createFoo(String firstName) {
return new Foo(firstName);
}
public static void main(String[] args) {
Foo joe = <spot>createFoo("Joe")</spot>;
}
}