diff options
Diffstat (limited to 'usage_examples/experimental/FieldDefaultsExample_post.jpage')
-rw-r--r-- | usage_examples/experimental/FieldDefaultsExample_post.jpage | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/usage_examples/experimental/FieldDefaultsExample_post.jpage b/usage_examples/experimental/FieldDefaultsExample_post.jpage new file mode 100644 index 00000000..95c17a4b --- /dev/null +++ b/usage_examples/experimental/FieldDefaultsExample_post.jpage @@ -0,0 +1,12 @@ +public class FieldDefaultsExample { + public final int a; + private final int b; + private int c; + final int d; + + FieldDefaultsExample() { + a = 0; + b = 0; + d = 0; + } +} |