[자바] 자바 레퍼런스 데이터 타입 예제
public class Main { public static void main(String[] args) { /* 레퍼런스 데이터 타입 */ Integer i = 1; Float f = 1.1f; Double d = 1.2; Boolean b = true; Character c = 'a'; String s = "Hello World"; System. out.println( i); System. out.println( f); System. out.println( d); System. out.println( b); System. out.println( c); System. out.println(s ); }}
프로그래밍/자바
2016. 12. 25. 14:28
[자바] 자바 기본 데이터 타입 예제
아래의 코드를 복사하여 이클립스에서 실행시켜 보시기 바랍니다. 자바의 데이터타입에 따른 SYstem.out.println 메소드의 출력 결과를 알 수 있습니다. public class Main { public static void main(String[] args) { /* 기본 데이터 타입 */ int i = 1; float f = 1.1f; double d = 1.2; boolean b = true; char c = 'a'; System. out.println(i ); System. out.println(f ); System. out.println( d); System. out.println(b ); System. out.println(c ); }}
프로그래밍/자바
2016. 12. 23. 13:08
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- nginx cors
- php로 자바스크립트 콘솔 출력
- 자바
- 빈 컴포넌트
- react 시작하는 법
- Java 프로그래밍
- cargo 설치 명령어
- rustup
- 파이썬 프로그래밍
- 파이썬 팁
- 파이썬
- 프로그래밍구성방법
- cors 해결방법
- 배열에서 오브젝트 삭제하기
- node 최신버전
- Python Programming
- 자바스크립트 배열 오브젝트 삭제
- python tip
- cros 에러
- create-react-app 시작하기
- 자바프로그래밍
- java programming
- 문제해결
- Python
- 최신 nodejs
- Java
- 프로그래밍
- cros 방법
- ubuntu node
- cors 문제
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
글 보관함