public class Atom
extends java.lang.Object
Constructor and Description |
---|
Atom(int givenProtons,
int givenNeurons,
int givenElectrons)
Contructs an an atom with given parameters
|
Modifier and Type | Method and Description |
---|---|
void |
decay()
The atom decayed
|
int |
getAtomicCharge()
Return the charge of the atom
|
int |
getAtomicMass()
Return the mass of the atom
|