write a class definition of a class named 'value ' with the following: a constructor accepting a single integer parameter a constructor with no parameters a method 'setval' that accepts a single parameter , a boolean method , 'wasmodified' that returns true if setval was ever called for the object .