Class ConstructorArgsDemo


  • public class ConstructorArgsDemo
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static java.lang.String DEFAULT  
      private java.lang.String secret  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getTheSecret()  
      private java.lang.String theSecretIsPrivate()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • secret

        private final java.lang.String secret
    • Constructor Detail

      • ConstructorArgsDemo

        public ConstructorArgsDemo​(java.lang.String secret)
      • ConstructorArgsDemo

        public ConstructorArgsDemo()
    • Method Detail

      • getTheSecret

        public java.lang.String getTheSecret()
      • theSecretIsPrivate

        private java.lang.String theSecretIsPrivate()