Java의 정석 : 기초편

Java의 정석 : 기초편

$36.86
Description
교육현장에서 뒤쳐지는 학생들을 위해 쓰고, 학생들에게 직접 검증받고 호평받은 책. 코딩을 처음 배우는 사람도 자바를 쉽게 배울수 있게 도와준다.

저자

남궁성

20년넘는실무와교육경험을갖고있다.삼성SDS와삼성전자캐나다에서근무했다.
현재는프리랜서로집필과강의를하고있다.항상최고의책을쓰겠다는목표로오랜시간정성을들여책을쓰는것으로유명하다.
저서로는10년넘게베스트셀러자리를지켜온'자바의정석(1,2,3판)','C언어의정석','자바의정석-기초편'이있다.
http://www.codechobo.com과http://cafe.naver.com/javachobostudy.cafe를운영하고있으며15년넘게자바와책관련문의에직접답변해주고있다.

목차

Chapter1.자바를시작하기전에
01자바(Java)란?··2
02자바의역사·······3
03자바의특징·······4
04자바가상머신(JVM)·6
05자바개발도구(JDK)설치하기·····7
06자바개발도구(JDK)설정하기···11
07자바API문서설치하기·····15
08첫번째자바프로그램작성하기········16
09자바프로그램의실행과정18
10이클립스설치하기···19
11이클립스로자바프로그램개발하기··23
12이클립스의뷰,퍼스펙티브,워크스페이스··26
13이클립스단축키·······28
14이클립스의자동완성기능30
15주석(comment)·······32
16자주발생하는에러와해결방법34
17책의소스와강의자료다운로드36
18이클립스로소스파일가져오기··38
19이클립스에서소스파일내보내기·······41

Chapter2.변수
01화면에글자출력하기-print()과println()········46
02덧셈뺄셈계산하기··47
03변수의선언과저장48
04변수의타입······50
05상수와리터럴·51
06리터럴의타입과접미사···52
07문자리터럴과문자열리터럴····53
08문자열결합·····54
09두변수의값바꾸기55
10기본형과참조형·······56
11기본형의종류와범위·······57
12printf를이용한출력·······58
13printf를이용한출력예제59
14화면으로부터입력받기·····61
15정수형의오버플로우·······62
16부호있는정수의오버플로우····64
17타입간의변환방법··66
연습문제······67

Chapter3.연산자
01연산자와피연산자···70
02연산자의종류·71
03연산자의우선순위···72
04연산자의결합규칙···73
05증감연산자++과--······74
06부호연산자·····76
07형변환연산자·77
08자동형변환·····78
09사칙연산자·····79
10산술변환········80
11Math.round()로반올림하기·····83
12나머지연산자·84
13비교연산자······85
14문자열의비교·86
15논리연산자&&||!······87
16논리부정연산자·····90
17조건연산자·····91
18대입연산자······93
19복합대입연산자·······94
연습문제······95

Chapter4.조건문과반복문
01if문·98
02조건식의다양한예··99
03블럭{}···100
04if-else문······101
05if-elseif문···102
06if-elseif문예제···103
07중첩if문········104
08중첩if문예제········105
09switch문·······106
10switch문의제약조건·······107
11switch문의제약조건예제······108
12임의의정수만들기Math.random()109
13for문·····110
14for문예제·····112
15중첩for문·····113
16while문115
17while문예제1·······116
18while문예제2·······117
19do-while문··118
20break문········119
21continue문···120
22break문과continue문예제··121
23이름붙은반복문···122
24이름붙은반복문예제···123
연습문제····125

Chapter5.배열
01배열이란?·····130
02배열의선언과생성131
03배열의인덱스········132
04배열의길이(배열이름.length)·133
05배열의초기화········134
06배열의출력···135
07배열의출력예제···136
08배열의활용(1)-총합과평균137
09배열의활용(2)-최대값과최소값··138
10배열의활용(3)-섞기(shuffle)·······139
11배열의활용(4)-로또번호만들기··140
12String배열의선언과생성·······141
13String배열의초기화·······142
14String클래스·143
15String클래스의주요메서드····144
16커맨드라인을통해입력받기··145
17이클립스에서커맨드라인매개변수입력하기····146
182차원배열의선언·147
192차원배열의인덱스·······148
202차원배열의초기화·······149
212차원배열의초기화예제1····150
222차원배열의초기화예제2····151
232차원배열의초기화예제3····152
24Arrays로배열다루기····153
연습문제····154

Chapter6.객체지향프로그래밍I
01객체지향언어········160
02클래스와객체········161
03객체의구성요소-속성과기능······162
04객체와인스턴스······163
05한파일에여러클래스작성하기······164
06객체의생성과사용165
07객체의생성과사용예제168
08객체배열········169
09클래스의정의(1)-데이터와함수의결합········170
10클래스의정의(2)-사용자정의타입······171
11선언위치에따른변수의종류··173
12클래스변수와인스턴스변수··174
13클래스변수와인스턴스변수예제··175
14메서드란?····176
15메서드의선언부·····177
16메서드의구현부·····178
17메서드의호출········179
18메서드의실행흐름180
19메서드의실행흐름예제·181
20return문········182
21반환값··183
22호출스택(callstack)······184
23기본형매개변수·····185
24참조형매개변수·····186
25참조형반환타입···187
26static메서드와인스턴스메서드·····188
27static메서드와인스턴스메서드예제·····189
28static을언제붙여야할까?······190
29메서드간의호출과참조191
30오버로딩(overloading)··192
31오버로딩(overloading)예제··194
32생성자(constructor)·····195
33기본생성자(defaultconstructor)·196
34매개변수가있는생성자·198
35매개변수가있는생성자예제··199
36생성자에서다른생성자호출하기-this()········200
37객체자신을가리키는참조변수-this····202
38변수의초기화········203
39멤버변수의초기화204
40멤버변수의초기화예제1········205
41멤버변수의초기화예제2········206
연습문제····207

Chapter7.객체지향프로그래밍Ⅱ
01상속······222
02상속예제······224
03클래스간의관계-포함관계·225
04클래스간의관계결정하기····226
05단일상속(singleinheritance)········227
06Object클래스-모든클래스의조상·······228
07오버라이딩(overriding)··229
08오버라이딩의조건·230
09오버로딩vs.오버라이딩231
10참조변수super·····232
11super()-조상의생성자······233
12패키지(package)··234
13패키지의선언········235
14클래스패스(classpath)·236
15import문·······237
16staticimport문····238
17제어자(modifier)····239
18static-클래스의,공통적인··240
19final-마지막의,변경될수없는··241
20abstract-추상의,미완성의·242
21접근제어자(accessmodifier)········243
22캡슐화와접근제어자·····244
23다형성(polymorphism)···246
24참조변수의형변환··248
25참조변수의형변환예제·249
26instanceof연산자·250
27매개변수의다형성··251
28매개변수의다형성예제·253
29여러종류의객체를배열로다루기··254
30여러종류의객체를배열로다루기예제··255
31추상클래스(abstractclass)··257
32추상메서드(abstractmethod)·······258
·268
41디폴트메서드와static메서드예제·269
42내부클래스(innerclass)········270
43내부클래스의종류와특징·····271
44내부클래스의선언272
45내부클래스의제어자와접근성·······273
46내부클래스의제어자와접근성예제1·····274
47내부클래스의제어자와접근성예제2······275
48내부클래스의제어자와접근성예제3·····276
49내부클래스의제어자와접근성예제4·····277
50내부클래스의제어자와접근성예제5·····278
51익명클래스(anonymousclass)·····279
52익명클래스(anonymousclass)예제·····280
연습문제····281

Chatper8.예외처리
01프로그램오류········292
02예외클래스의계층구조·293
03Exception과RuntimeException···294
04예외처리하기-try-catch문295
05try-catch문에서의흐름296
06예외의발생과catch블럭········297
07printStackTrace()와getMessage()·····299
08멀티catch블럭·····300
09예외발생시키기·····301
10checked예외,unchecked예외·····302
11메서드에예외선언하기·303
12메서드에예외선언하기예제1········304
13메서드에예외선언하기예제2········305
14finally블럭·····306
15사용자정의예외만들기307
16사용자정의예외만들기예제308
17예외되던지기(exceptionre-throwing)·310
18연결된예외(chainedexception)···312
19연결된예외(chainedexception)예제···314
연습문제····316

Chapter9.java.lang패키지와유용한클래스
01Object클래스324
02Object클래스의메서드-equals()325
03equals()의오버라이딩··326
04Object클래스의메서드-hashCode()···327
05Object클래스의메서드-toString()·······328
06toString()의오버라이딩329
07String클래스·330
08문자열(String)의비교·····331
09문자열리터럴(String리터럴)···332
10빈문자열(emptystring)333
11String클래스의생성자와메서드·····334
12join()과StringJoiner····337
13문자열과기본형간의변환·····338
14문자열과기본형간의변환예제······339
15StringBuffer클래스········340
16StringBuffer의생성자···341
17StringBuffer의변경·······342
18StringBuffer의비교·······343
19StringBuffer의생성자와메서드······344
20StringBuffer의생성자와메서드예제······346
21StringBuilder········347
22Math클래스···348
23Math의메서드·······349
24Math의메서드예제·······350
25래퍼(wrapper)클래스····351
26래퍼(wrapper)클래스예제····352
27Number클래스······353
28문자열을숫자로변환하기·······354
29문자열을숫자로변환하기예제·······355
30오토박싱&언박싱·356
31오토박싱&언박싱예제·357
연습문제····358

Chapter10.날짜와시간&형식화
01날짜와시간···366
02Calendar클래스····367
03Calendar예제1···368
04Calendar예제2···370
05Calendar예제3···371
06Calendar예제4···372
07Calendar예제5···373
08Date와Calendar간의변환····374
09형식화클래스········375
10DecimalFormat····376
11DecimalFormat예제1··377
12DecimalFormat예제2··378
13SimpleDateFormat·······379
14SimpleDateFormat예제1·····380
15SimpleDateFormat예제2·····381
16SimpleDateFormat예제3·····382
연습문제····383

(생략)