public abstract class ElectricityComponent
extends java.lang.Object
Constructor and Description |
---|
ElectricityComponent() |
Modifier and Type | Method and Description |
---|---|
abstract double |
getOhm()
Calculate resistance in ohms.
|
double |
getVolt(double amper)
Calculation of voltage.
|