SlideShare a Scribd company logo
1 of 15
변수에서 클래스 까지 클래스의 기본구성 클래스의 사용법 클래스의 사용법 생성자메서드 오버로딩 this this() 접근 제한자 공유 필드를 위한 static 응용 프로그램 실행 순서 final 필드 final()
변수에서 클래스 까지
클래스의 기본구성 형식 :  - 접근_제한자 지정_예약어class 클래스이름 extends 상위클래스 implements 상위인터페이스 포함 멤버 :  - Nested Class : 중첩 클래스 - Field : 데이터 저장 공간->변수 - Construct : 객체 생성 및 초기화 Method - Method : 특정 행위의 기술 영역->함수
클래스의 사용법 ,[object Object],-클래스명객체명= new 생성자(매개변수); 			->동적메모리 영역에 포함 ,[object Object],->사용 : 객체명.Field or 객체명.Method
생성자메서드 ,[object Object]
클래스명과 동일
결과형리턴값이 없다.
 객체 생성 시 반드시 하나의 생성자 호출
 멤버 필드 값 초기화		//멤버필드 사용시 편리하게 사용할 수 있다.    ,[object Object]
생성자 오버로딩 가능
 this와 this(),[object Object]
this 정의 : 클래스 내부에서 자신의 클래스를 지칭하는 객체
this() 정의 : 생성자 내부에서 자신 클래스의 또 다른 생성자를 지칭하는 메서드
접근 제한자 ,[object Object]
 클래스 내의 멤버에 접근을 제한하기 위한 예약어

More Related Content

Viewers also liked

O desafio das pequenas empresas para anunciar no google
O desafio das pequenas empresas para anunciar no googleO desafio das pequenas empresas para anunciar no google
O desafio das pequenas empresas para anunciar no googleEduardo Valente
 
Competing Countries
Competing CountriesCompeting Countries
Competing Countriesbobafett1136
 
Shampoo
ShampooShampoo
Shampooav22
 
Basic hygiene centara 21 06 10
Basic hygiene centara 21 06 10Basic hygiene centara 21 06 10
Basic hygiene centara 21 06 10dutchweller
 
Talevich bosc2010 bio-phylo
Talevich bosc2010 bio-phyloTalevich bosc2010 bio-phylo
Talevich bosc2010 bio-phyloBOSC 2010
 
Как превратить компьютер в неприступную крепость
Как превратить компьютер в неприступную крепостьКак превратить компьютер в неприступную крепость
Как превратить компьютер в неприступную крепостьАльберт Коррч
 
Crs piloting-idce-0113
Crs piloting-idce-0113Crs piloting-idce-0113
Crs piloting-idce-0113plodinec
 
Kanterakis bosc2010 molgenis
Kanterakis bosc2010 molgenisKanterakis bosc2010 molgenis
Kanterakis bosc2010 molgenisBOSC 2010
 
I Wanna Learn To Play Like The Dolphins
I Wanna Learn To Play Like The DolphinsI Wanna Learn To Play Like The Dolphins
I Wanna Learn To Play Like The Dolphinskkindig
 
iPad integration through an assessment lens
iPad integration through an assessment lensiPad integration through an assessment lens
iPad integration through an assessment lensKevin Amboe
 
Coates bosc2010 clouds-fluff-and-no-substance
Coates bosc2010 clouds-fluff-and-no-substanceCoates bosc2010 clouds-fluff-and-no-substance
Coates bosc2010 clouds-fluff-and-no-substanceBOSC 2010
 
This is Their Hearts on Smartphones: SXSWedu raising digital natives slides, ...
This is Their Hearts on Smartphones: SXSWedu raising digital natives slides, ...This is Their Hearts on Smartphones: SXSWedu raising digital natives slides, ...
This is Their Hearts on Smartphones: SXSWedu raising digital natives slides, ...profheit
 
Unc Bedrijfspresentatie
Unc BedrijfspresentatieUnc Bedrijfspresentatie
Unc Bedrijfspresentatielouisa_stern
 
Chap012 the one to-one media
Chap012 the one to-one mediaChap012 the one to-one media
Chap012 the one to-one mediaHee Young Shin
 
G5 Nuttal group2
G5 Nuttal group2G5 Nuttal group2
G5 Nuttal group2vduvieusart
 
Teahingint
TeahingintTeahingint
Teahingintprisana2
 
G5 Mr Kanter group2
G5 Mr Kanter group2G5 Mr Kanter group2
G5 Mr Kanter group2vduvieusart
 
Start Smart in Russia
Start Smart in RussiaStart Smart in Russia
Start Smart in Russiaiorrrrr
 
Animations
AnimationsAnimations
Animations555123
 

Viewers also liked (20)

O desafio das pequenas empresas para anunciar no google
O desafio das pequenas empresas para anunciar no googleO desafio das pequenas empresas para anunciar no google
O desafio das pequenas empresas para anunciar no google
 
Competing Countries
Competing CountriesCompeting Countries
Competing Countries
 
Shampoo
ShampooShampoo
Shampoo
 
Basic hygiene centara 21 06 10
Basic hygiene centara 21 06 10Basic hygiene centara 21 06 10
Basic hygiene centara 21 06 10
 
Talevich bosc2010 bio-phylo
Talevich bosc2010 bio-phyloTalevich bosc2010 bio-phylo
Talevich bosc2010 bio-phylo
 
Как превратить компьютер в неприступную крепость
Как превратить компьютер в неприступную крепостьКак превратить компьютер в неприступную крепость
Как превратить компьютер в неприступную крепость
 
Crs piloting-idce-0113
Crs piloting-idce-0113Crs piloting-idce-0113
Crs piloting-idce-0113
 
Kanterakis bosc2010 molgenis
Kanterakis bosc2010 molgenisKanterakis bosc2010 molgenis
Kanterakis bosc2010 molgenis
 
I Wanna Learn To Play Like The Dolphins
I Wanna Learn To Play Like The DolphinsI Wanna Learn To Play Like The Dolphins
I Wanna Learn To Play Like The Dolphins
 
Cau kien 1 35
Cau kien 1 35Cau kien 1 35
Cau kien 1 35
 
iPad integration through an assessment lens
iPad integration through an assessment lensiPad integration through an assessment lens
iPad integration through an assessment lens
 
Coates bosc2010 clouds-fluff-and-no-substance
Coates bosc2010 clouds-fluff-and-no-substanceCoates bosc2010 clouds-fluff-and-no-substance
Coates bosc2010 clouds-fluff-and-no-substance
 
This is Their Hearts on Smartphones: SXSWedu raising digital natives slides, ...
This is Their Hearts on Smartphones: SXSWedu raising digital natives slides, ...This is Their Hearts on Smartphones: SXSWedu raising digital natives slides, ...
This is Their Hearts on Smartphones: SXSWedu raising digital natives slides, ...
 
Unc Bedrijfspresentatie
Unc BedrijfspresentatieUnc Bedrijfspresentatie
Unc Bedrijfspresentatie
 
Chap012 the one to-one media
Chap012 the one to-one mediaChap012 the one to-one media
Chap012 the one to-one media
 
G5 Nuttal group2
G5 Nuttal group2G5 Nuttal group2
G5 Nuttal group2
 
Teahingint
TeahingintTeahingint
Teahingint
 
G5 Mr Kanter group2
G5 Mr Kanter group2G5 Mr Kanter group2
G5 Mr Kanter group2
 
Start Smart in Russia
Start Smart in RussiaStart Smart in Russia
Start Smart in Russia
 
Animations
AnimationsAnimations
Animations
 

Similar to 자바스터디 2

Java 강의자료 ed11
Java 강의자료 ed11Java 강의자료 ed11
Java 강의자료 ed11hungrok
 
Swift3 : class and struct(+property+method)
Swift3 : class and struct(+property+method)Swift3 : class and struct(+property+method)
Swift3 : class and struct(+property+method)승욱 정
 
이것이 자바다 Chap.11 기본 API 클래스(java)(KOR)
이것이 자바다 Chap.11 기본 API 클래스(java)(KOR)이것이 자바다 Chap.11 기본 API 클래스(java)(KOR)
이것이 자바다 Chap.11 기본 API 클래스(java)(KOR)MIN SEOK KOO
 
파이썬 namespace Binding 이해하기
파이썬 namespace Binding 이해하기 파이썬 namespace Binding 이해하기
파이썬 namespace Binding 이해하기 Yong Joon Moon
 
이것이 자바다 Chap. 6 클래스(CLASS)(KOR)
이것이 자바다 Chap. 6 클래스(CLASS)(KOR)이것이 자바다 Chap. 6 클래스(CLASS)(KOR)
이것이 자바다 Chap. 6 클래스(CLASS)(KOR)MIN SEOK KOO
 
[새차원, 코틀린(Kotlin) 강좌] 7 classes and_inheritance
[새차원, 코틀린(Kotlin) 강좌] 7 classes and_inheritance[새차원, 코틀린(Kotlin) 강좌] 7 classes and_inheritance
[새차원, 코틀린(Kotlin) 강좌] 7 classes and_inheritance정연 최
 
[아꿈사] The C++ Programming Language 13장 템플릿
[아꿈사] The C++ Programming Language 13장 템플릿[아꿈사] The C++ Programming Language 13장 템플릿
[아꿈사] The C++ Programming Language 13장 템플릿해강
 
[C++ lab] 3. c++ 프로그래밍
[C++ lab] 3. c++ 프로그래밍[C++ lab] 3. c++ 프로그래밍
[C++ lab] 3. c++ 프로그래밍MinGeun Park
 
C# 개요 및 소개 [ 유니티 및 C# 스터디 / 2024-04-19 ]
C# 개요 및 소개 [ 유니티 및 C# 스터디 / 2024-04-19 ]C# 개요 및 소개 [ 유니티 및 C# 스터디 / 2024-04-19 ]
C# 개요 및 소개 [ 유니티 및 C# 스터디 / 2024-04-19 ]leusin2
 
Scala companion object
Scala companion objectScala companion object
Scala companion objectYong Joon Moon
 
PHP 7의 새로운 특징과 기능 요약
PHP 7의 새로운 특징과 기능 요약PHP 7의 새로운 특징과 기능 요약
PHP 7의 새로운 특징과 기능 요약정아 손
 
객체지향 프로그래밍 기본
객체지향 프로그래밍 기본객체지향 프로그래밍 기본
객체지향 프로그래밍 기본용호 최
 
2014-15 Intermediate C++ Study #7
2014-15 Intermediate C++ Study #72014-15 Intermediate C++ Study #7
2014-15 Intermediate C++ Study #7Chris Ohk
 

Similar to 자바스터디 2 (20)

Java_05 class
Java_05 classJava_05 class
Java_05 class
 
Java class
Java classJava class
Java class
 
Java 강의자료 ed11
Java 강의자료 ed11Java 강의자료 ed11
Java 강의자료 ed11
 
Java(1/4)
Java(1/4)Java(1/4)
Java(1/4)
 
Swift3 : class and struct(+property+method)
Swift3 : class and struct(+property+method)Swift3 : class and struct(+property+method)
Swift3 : class and struct(+property+method)
 
이것이 자바다 Chap.11 기본 API 클래스(java)(KOR)
이것이 자바다 Chap.11 기본 API 클래스(java)(KOR)이것이 자바다 Chap.11 기본 API 클래스(java)(KOR)
이것이 자바다 Chap.11 기본 API 클래스(java)(KOR)
 
파이썬 namespace Binding 이해하기
파이썬 namespace Binding 이해하기 파이썬 namespace Binding 이해하기
파이썬 namespace Binding 이해하기
 
Java(2/4)
Java(2/4)Java(2/4)
Java(2/4)
 
이것이 자바다 Chap. 6 클래스(CLASS)(KOR)
이것이 자바다 Chap. 6 클래스(CLASS)(KOR)이것이 자바다 Chap. 6 클래스(CLASS)(KOR)
이것이 자바다 Chap. 6 클래스(CLASS)(KOR)
 
Java(3/4)
Java(3/4)Java(3/4)
Java(3/4)
 
[새차원, 코틀린(Kotlin) 강좌] 7 classes and_inheritance
[새차원, 코틀린(Kotlin) 강좌] 7 classes and_inheritance[새차원, 코틀린(Kotlin) 강좌] 7 classes and_inheritance
[새차원, 코틀린(Kotlin) 강좌] 7 classes and_inheritance
 
[아꿈사] The C++ Programming Language 13장 템플릿
[아꿈사] The C++ Programming Language 13장 템플릿[아꿈사] The C++ Programming Language 13장 템플릿
[아꿈사] The C++ Programming Language 13장 템플릿
 
[C++ lab] 3. c++ 프로그래밍
[C++ lab] 3. c++ 프로그래밍[C++ lab] 3. c++ 프로그래밍
[C++ lab] 3. c++ 프로그래밍
 
C# 개요 및 소개 [ 유니티 및 C# 스터디 / 2024-04-19 ]
C# 개요 및 소개 [ 유니티 및 C# 스터디 / 2024-04-19 ]C# 개요 및 소개 [ 유니티 및 C# 스터디 / 2024-04-19 ]
C# 개요 및 소개 [ 유니티 및 C# 스터디 / 2024-04-19 ]
 
Scala companion object
Scala companion objectScala companion object
Scala companion object
 
Java script
Java scriptJava script
Java script
 
PHP 7의 새로운 특징과 기능 요약
PHP 7의 새로운 특징과 기능 요약PHP 7의 새로운 특징과 기능 요약
PHP 7의 새로운 특징과 기능 요약
 
Linq
LinqLinq
Linq
 
객체지향 프로그래밍 기본
객체지향 프로그래밍 기본객체지향 프로그래밍 기본
객체지향 프로그래밍 기본
 
2014-15 Intermediate C++ Study #7
2014-15 Intermediate C++ Study #72014-15 Intermediate C++ Study #7
2014-15 Intermediate C++ Study #7
 

More from jangpd007

자바스터디 4
자바스터디 4자바스터디 4
자바스터디 4jangpd007
 
자바스터디 3 3
자바스터디 3 3자바스터디 3 3
자바스터디 3 3jangpd007
 
자바스터디 3 2
자바스터디 3 2자바스터디 3 2
자바스터디 3 2jangpd007
 
자바스터디 3 1
자바스터디 3 1자바스터디 3 1
자바스터디 3 1jangpd007
 
자바스터디 1
자바스터디 1자바스터디 1
자바스터디 1jangpd007
 
안드로이드스터디 14
안드로이드스터디 14안드로이드스터디 14
안드로이드스터디 14jangpd007
 
안드로이드스터디 13
안드로이드스터디 13안드로이드스터디 13
안드로이드스터디 13jangpd007
 
안드로이드스터디 12
안드로이드스터디 12안드로이드스터디 12
안드로이드스터디 12jangpd007
 
안드로이드스터디 11
안드로이드스터디 11안드로이드스터디 11
안드로이드스터디 11jangpd007
 
안드로이드스터디 10
안드로이드스터디 10안드로이드스터디 10
안드로이드스터디 10jangpd007
 
안드로이드스터디 9
안드로이드스터디 9안드로이드스터디 9
안드로이드스터디 9jangpd007
 
안드로이드스터디 8
안드로이드스터디 8안드로이드스터디 8
안드로이드스터디 8jangpd007
 
안드로이드스터디 7
안드로이드스터디 7안드로이드스터디 7
안드로이드스터디 7jangpd007
 
안드로이드스터디 6
안드로이드스터디 6안드로이드스터디 6
안드로이드스터디 6jangpd007
 
안드로이드스터디 5
안드로이드스터디 5안드로이드스터디 5
안드로이드스터디 5jangpd007
 
안드로이드스터디 4
안드로이드스터디 4안드로이드스터디 4
안드로이드스터디 4jangpd007
 
안드로이드스터디 3
안드로이드스터디 3안드로이드스터디 3
안드로이드스터디 3jangpd007
 
안드로이드스터디 2
안드로이드스터디 2안드로이드스터디 2
안드로이드스터디 2jangpd007
 
안드로이드스터디 1
안드로이드스터디 1안드로이드스터디 1
안드로이드스터디 1jangpd007
 

More from jangpd007 (19)

자바스터디 4
자바스터디 4자바스터디 4
자바스터디 4
 
자바스터디 3 3
자바스터디 3 3자바스터디 3 3
자바스터디 3 3
 
자바스터디 3 2
자바스터디 3 2자바스터디 3 2
자바스터디 3 2
 
자바스터디 3 1
자바스터디 3 1자바스터디 3 1
자바스터디 3 1
 
자바스터디 1
자바스터디 1자바스터디 1
자바스터디 1
 
안드로이드스터디 14
안드로이드스터디 14안드로이드스터디 14
안드로이드스터디 14
 
안드로이드스터디 13
안드로이드스터디 13안드로이드스터디 13
안드로이드스터디 13
 
안드로이드스터디 12
안드로이드스터디 12안드로이드스터디 12
안드로이드스터디 12
 
안드로이드스터디 11
안드로이드스터디 11안드로이드스터디 11
안드로이드스터디 11
 
안드로이드스터디 10
안드로이드스터디 10안드로이드스터디 10
안드로이드스터디 10
 
안드로이드스터디 9
안드로이드스터디 9안드로이드스터디 9
안드로이드스터디 9
 
안드로이드스터디 8
안드로이드스터디 8안드로이드스터디 8
안드로이드스터디 8
 
안드로이드스터디 7
안드로이드스터디 7안드로이드스터디 7
안드로이드스터디 7
 
안드로이드스터디 6
안드로이드스터디 6안드로이드스터디 6
안드로이드스터디 6
 
안드로이드스터디 5
안드로이드스터디 5안드로이드스터디 5
안드로이드스터디 5
 
안드로이드스터디 4
안드로이드스터디 4안드로이드스터디 4
안드로이드스터디 4
 
안드로이드스터디 3
안드로이드스터디 3안드로이드스터디 3
안드로이드스터디 3
 
안드로이드스터디 2
안드로이드스터디 2안드로이드스터디 2
안드로이드스터디 2
 
안드로이드스터디 1
안드로이드스터디 1안드로이드스터디 1
안드로이드스터디 1
 

자바스터디 2