updated Java/Jython private field examples
This commit is contained in:
@@ -4,6 +4,6 @@ public class Confidential {
|
||||
private String hidden = "burn after reading";
|
||||
|
||||
public Confidential(String text) {
|
||||
this.secret = text;
|
||||
this.secret = text.toUpperCase();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user