Class ConstructorArgsDemo

java.lang.Object
samples.constructorargs.ConstructorArgsDemo

public class ConstructorArgsDemo extends Object
  • Field Details

  • Constructor Details

    • ConstructorArgsDemo

      public ConstructorArgsDemo(String secret)
    • ConstructorArgsDemo

      public ConstructorArgsDemo()
  • Method Details

    • getTheSecret

      public String getTheSecret()
    • theSecretIsPrivate

      private String theSecretIsPrivate()