분류 전체보기
-
[Java] Eclipse 설치&실행Java 2022. 11. 20. 23:49
[Eclipse 실행] 프로젝트 생성 1. [File] → [New] → [Project] 메뉴를 선택한다. 2. 프로그램 종류를 선택하는 윈도우 창이 뜨면 [Java] → [Java Project] → [Next] 선택한다. 3. [Project이름 입력] → [JRE환경에서 JavaSE-11 선택] → [Next] 선택한다. * JRE환경은 자신이 설치한 JRE환경 선택 4. Java Settings에서는 소스코드파일의 저장 위치와 바이트파일의 저장위치를 설정 할 수 있다. 맨 위에 보이는 Example프로젝트의 src파일에는 소스코드파일이 저장되며, 맨 아래 보이는 Default output folder : Example 프로젝트의 bin파일에는 바이트코드파일이 저장된다. 설정 후 [Finish]를..
-
[Java] 자바란 무엇인가?Java 2022. 11. 20. 01:11
자바란 ? Sun Microsystems가 1995년에 발표한 객체지향 프로그래밍 언어이자 컴퓨팅 플래폼이다. 현재 웹사이트 및 다양한 애플리케이션 개발의 핵심언어이며 웹 애플리케이션, 안드로이드 애플리케이션, 데스크톱 애플리케이션 등을 개발 가능하다. 자바의 특징 ① 플랫폼 독립성(=이식성이 좋음) 자바는 하드웨어, 운영체제 등 플랫폼에 종속되지 않는 독립적인 바이트 코드로 컴파일 되기 때문에 자바 가상 기계만 있으면 모든 운영체제 에서 실행 가능하다. ② 객체 지향 프로그래밍(OOOP : Object-Oriented Programming) 자바는 객체 지향 언어로서 캡슐화, 상속, 다형성을 지원한다. * 객체지향 프로그래밍 : 해결할 과제를 객체 간의 상호 관계로 모델링하여 인간의 사고에 가깝게 표현..