Standard Deviation

Can somebody tell me how I can change this code to allow me to hard code the values into it? such as double [] values = {10,20,30,4,2}; import java.util.*; public class Deviator { public static void main(String [] args) {