title: Java ArrayList replace at specific index
body: <p>I need help with this java please. I created an ArrayList of bulbs, and I'm trying to replace a bulb at specific index with another bulb. So with the following heading, how do I proceed?</p>
  
  <pre><code>public void replaceBulb(int index, Bulbs theBulb) {
  
  }
  </code></pre>