Java의 변수명은 자바스크립트랑 비슷한거 같음. 차피 그게 그거 아니겠설?

  1. 변수명

자바의 키워드

abstract continue for new switch assert default goto package synchronized boolean do if private this break double implements protected throw byte else import public throws case enum instanceof return transient catch extends int short try char final interface static void class finally long strictfp volatile const float native super while


  1. 자료형
  1. 기본타입 정수형 : byte(1byte), short(2), int(4), long(8) 실수형 : float(4), double(8) 문자형 : char(2byte) - 문자한개임 논리형 : boolean(1byte) - true or false

  2. 참조형 타입 class(클래스), 배열(array), 인터페이스(interface), 문자열(String / immutabel) 상기 참조형은 기본형에 속하지 않음. ※데이터가 저장된 메모리의 주소값을 저장하는 변수임.

  1. 자료형 (자주 쓸만한거)