Create Resistor.java