16 lines
167 B
Plaintext
16 lines
167 B
Plaintext
=== Compliant solution
|
|
|
|
[source,text]
|
|
----
|
|
public class Foo {
|
|
private String name;
|
|
|
|
public String getName() { }
|
|
}
|
|
|
|
//...
|
|
|
|
Foo foo = new Foo();
|
|
foo.getName()
|
|
----
|