Programming/JAVA
-
JAVAProgramming/JAVA 2022. 9. 13. 03:16
# 자바의 타입 - 기본타입 primitive type - 참조 타입 reference type : 객체의 번지를 참조하는 타입 ( 배열, 열거 클래스, 인터페이스 ) # 메모리 사용 영역 Runtime Data Area - 메소드 영역 Method Area : JVM이 시작할 때 생성되고 모든 스레드가 공유하는 영역 클래스 로더 -> 클래스별 정적 필드와 상수, 메소드 코드, 생성자 코드 등을 분류해 저장 - 힙 영역 Heap Area : 객체와 배열이 생성되는 영역 ( JVM 스택 영역의 변수와 다른 객체의 필드에서 참조 ) -> 참조하는 변수나 필드가 없으면 의미 없는 객체가 되어 grabage collector 실행시켜 자동 제거 - JVM 스택 Stack : 메소드 호출할 때마다 프레임 추가pu..
-
JSP 게시판 만들기 강좌 -6강Programming/JAVA 2022. 9. 13. 03:11
li class active 는 하나만 input name은 나중에 서버 프로그램 작성할 때 사용하기에 매우 중요함. 대소문자 구분하면서 넣기 ! JSP 게시판 만들기 강좌 3강 - 회원 데이터베이스 구축하기 jsp advanced development tutorial #3 1. Mysql community download - mysql installer download -> 설치 과정에서 root 비밀번호 잘 외워두기 2. 설치 후 Mysql Command LIne Client 접속 -> root 비밀번호 작성 >>CREATE DATABASE BBS; 생성 USE BBS; 데이터베이스 접속 CREATE TABLE USER ( userID VARCHAR(20), ( 문자 20개 들어갈 수 있는 공간 ) ..