Class Parent

  • Direct Known Subclasses:
    ChildA, ChildB

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

      Fields 
      Modifier and Type Field Description
      private int value  
    • Constructor Summary

      Constructors 
      Constructor Description
      Parent()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getValue()  
      void setValue​(int value)  
      • Methods inherited from class java.lang.Object

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

      • value

        private int value
    • Constructor Detail

      • Parent

        public Parent()
    • Method Detail

      • getValue

        public int getValue()
      • setValue

        public void setValue​(int value)