static
예약어
데이터영역 메모리에 생성되어
프로그램이 종료될때까지 수명이 유지된다.
클래스 이름으로 바로, 직접 호출하여
프로그램이 종료될때까지 값을 여기저기 공유하여 저장할 수 있다.
https://ko.wikipedia.org/wiki/%EC%A0%95%EC%A0%81_%EB%B3%80%EC%88%98
정적 변수 - 위키백과, 우리 모두의 백과사전
위키백과, 우리 모두의 백과사전. -->
ko.wikipedia.org
Modifier (Java SE 19 & JDK 19)
All Implemented Interfaces: Serializable, Comparable , Constable Represents a modifier on a program element such as a class, method, or field. Not all modifiers are applicable to all kinds of elements. When two or more modifiers appear in the source code o
docs.oracle.com
'JAVA' 카테고리의 다른 글
JNDI이란? (0) | 2023.03.10 |
---|---|
자바는 무슨뜻일까? (0) | 2023.03.08 |
클래스와 인터페이스의 구성 (0) | 2023.03.08 |
JSP와 Servlet의 차이 (0) | 2023.03.06 |
JAVA Interface, 인터페이스 Class와의 차이 (0) | 2023.03.06 |