java (40) 썸네일형 리스트형 [JAVA] 문자열자르기 substring 문자열 자르기(substring): 첫번째 자리가 0부터 시작 "가나다라마바".substring(0,3); 으로 값을 출력 할 경우 0부터 3이전까지 산출 가나다라마바 0 1 2 3 4 5 결과: 가나다 예제 public static void main(String[] args){ String str = "Software Korea"; String msg = str.substring(0,8); // 0 ~ 7: 8개 System.out.println(msg); // Software 출력됨 System.out.println(str.substring(9,14)); // Korea 출력됨 } [JAVA] 데이터 타입 크기 Data Type Data Memory Minimum Value Maximum Value boolean boolean 8 bits - - byte integer 8 bits -128 127 char charactor 16 bits Unicode 0 Unicode 65535 short integer 16 bits -32768 32767 int integer 32 bits -2147483648 2147783647 long integer 64 bits -9223372036854775808 9223372036854775807 float real 32 bits -3.402824 x 10^38 3.402824 x 10^38 double real 64 bits -1.79769313486232 x 10^308 1.. [개발 IT] 이클립스 설치 방법 이클립스 설치 전에 JDK설치 필수 설치하지 않았다면 아래 링크를 따라 설치하세요. https://coding-house.tistory.com/65 [JAVA] JDK 설치 방법 JDK 설치 방법 JDK설치 목적: java개발에 필요한 도구 설치 STEP 1. JDK 다운로드 JDK 8버전은 XP에서 문제가 발생할 수 있기 때문에 JDK7버전으로 설치 http://www.oracle.com/technetwork/java/javase/download.. coding-house.tistory.com Eclipse 설치 방법 STEP 1. 링크를 통해 이클립스를 다운 → Windows 32Bit or Windows 64Bit https://www.eclipse.org/downloads/packages/ Ecl.. [개발 IT] JDK 설치 방법 JDK 설치 방법 JDK설치 목적: java개발에 필요한 도구 설치 STEP 1. JDK 다운로드 JDK 8버전은 XP에서 문제가 발생할 수 있기 때문에 JDK7버전으로 설치 http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html Java SE Development Kit 7 - Downloads | Oracle Technology Network | Oracle www.oracle.com STEP 2. Accept License Agreement 체크 후 본인 컴퓨터에 맞는 설치파일을 다운 Windows 32bit일 경우 - Windows x86 127.91MB jdk-7u60-windows-i586.exe 다.. [개발 IT] JRE 설치 방법 JRE 설치 방법 JRE의 설치 목적: java 환경의 프로그램을 구동하기 위해 설치 STEP 1. JRE 다운로드 http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html Java SE Runtime Environment 8 - Downloads Java SE Runtime Environment 8 Downloads Do you want to run Java™ programs, or do you want to develop Java programs? If you want to run Java programs, but not develop them, download the Java Runtime Environme.. [개발 IT] JDK, JRE 의미 JDK(Java Developent Kit): 자바 개발 도구 JRE(Java Runtime Environment): 자바 실행 환경 JDK는 자바를 개발하기 위해 자바개발자들이 사용하는 개발도구이고, JRE는 자바를 기반으로 수행되는 프로그램이 실행되기 위한 최소한의 환경. 자바를 개발하기 위해 JDK → 이클립스 순으로 설치하여 JRE는 생략하는 것 같지만 JDK를 설치할때 JRE가 포함되어있다. JDK 설치 방법 https://coding-house.tistory.com/65 [JAVA] JDK 설치 방법 JDK 설치 방법 JDK설치 목적: java개발에 필요한 도구 설치 STEP 1. JDK 다운로드 JDK 8버전은 XP에서 문제가 발생할 수 있기 때문에 JDK7버전으로 설치 http://www... [개발 IT] Build path 문제 이클립스 설치시 build path Warning이 발생할 경우 해결방법입니다. 문제 Select the fix for 'Build path specifies execution environment CDC-1.1/Foundation-1.1. There are no JREs installed in the workspace that are strictly compatible with this environment. '. Select the fix for 'Build path specifies execution environment J2SE-1.4. There are no JREs installed in the workspace that are strictly compatible with this enviro.. [JAVA] C++와 JAVA의 차이점 C++ JAVA char 1byte (ASCII code) 2byte (Unicode) long 4byte (ASCII code) 8byte (Unicode) const 사용 존재하지만 final 사용 접근제어자 public, protected, private public, default, protected, private 함수 함수 매서드 다중상속 허용 비허용 interface를 통해 다중상속 가능 이전 1 2 3 4 5 다음