java-variable-types3

Run Settings
LanguageJava
Language Version
Run Command
import java.io.*; public class Employee { //salary是静态的私有变量 private static double salary; // DEPARTMENT是一个常量 public static final String DEPARTMENT = "开发人员"; public static void main(String args[]){ salary = 10000; System.out.println(DEPARTMENT+"平均工资:"+salary); } }
Editor Settings
Theme
Key bindings
Full width
Lines