In order to save space and reduce redundancy in Java. Is it okay to do
public static double a, b, c = 0.0;
instead of
public static double a = 0.0;
public static double b = 0.0;
public static double c = 0.0;
? Also if the variables have different values, is it okay to do
public static double a = 0.0, b = 1.0, c = 2.0;