J2K: adapted for default visibility modifier 'public'
This commit is contained in:
@@ -21,7 +21,7 @@ class B {
|
||||
private int x;
|
||||
|
||||
// this constructor will disappear
|
||||
B(int x) {
|
||||
public B(int x) {
|
||||
this.x = x;
|
||||
} // end of constructor body
|
||||
|
||||
|
||||
Reference in New Issue
Block a user