프로그래밍 언어에서의 변수란 값을 저장할 수 있는 메모리 공간을 말한다. 하나의 변수에 단 하나의 값만 저장할 수 있으므로, 새로운 값을 저장하면 기존의 값은 사라진다. 변수타입 변수이름; int age;String name;변수를 선언하면, 메모리의 빈 공간에 변수타
연산자 연산을 수행하는 기호 (+, -, \*, / 등)피연산자 연산자의 작업대상 (변수, 상수, 리터럴, 수식)연산을 마친 식의 값을 새로운 변수에 저장하여 다른 곳에 사용하거나 화면에 출력할 수 있다. 피연산자의 개수하나 : 단항 연산자 -3둘 : 이항 연산자 +,