title: Java How to get the sum up all the of the values of each enum
body: <p>I am trying to understand how I could get all of the values for each enum, and add all of it together in one variable. my code.</p>
  
  <pre><code>enum Junk {
  
  Wrapper(0),
  SilverCoins(150), 
  Dresser(250),
  Sofa(250),
  ChippedBat(0),
  BrokenMicrowave(0),
  SilverWare(35),
  Newspapers(0),
  Book(20),
  Clothes(60),
  Plates(40),
  Cups(25),
  DiningTable(200),
  Chair(30),
  BoxOfPaper(10),
  BucketofPaint(10),
  Watch(30);
  
  }
  </code></pre>
  
  <p>I would like to know how I could add all of the values of each enum and adding it together.</p>