SlideShare una empresa de Scribd logo
1 de 10
Java Study 6th Class Math API
이해 API 응용 OOP 개념 문법 만들수있는가 없는가 조언자/전문가
Java API 란? ,[object Object]
 Java SE 는 가장 기본적인 API 를 포함EE, ME => Java SE + 개별 API
Java 의 기본문법도 java.lang API 에 속함String, System, Thread
import 를 이용해 다른 API(class file) 를 끌어다 쓸 수 있음,[object Object]
API 보기 java.lang.Math Code 	:  Math.abs(-200)Output 	:  200 static intabs(int a)           Returns the absolute value of an int value.
API 보기 java.util.Random Code 	:  new Random().nextInt(100);Output 	:  0~99 intnextInt() Returns the next pseudorandom, uniformly distributed int value from this random number generator's sequence. intnextInt(int n) Returns a pseudorandom, uniformly distributed int value between 0 (inclusive) and  the specified value (exclusive), drawn from this random number generator's sequence.
My Calculator 입력:	(실수) (연산자) (실수) 		3.14 * 2		= 6.14 	14 + 5.3	= 19.3 	2 ^ 5		= 32
My Simple Calculator 공백을 기준으로 각 부분을 나눈다. 실수/연산자/실수 3개의 항목이 있는지 검사한다. 계산 가능하게 실수로 변환한다. (문자열+문자열) 연산자에 맞는 계산을 해서 결과값을 저장한다. 결과값을 출력한다. 3 + 15		13 compare 9

Más contenido relacionado

Más de Jinhyuk Lee

Zari user-guide-20150729
Zari user-guide-20150729Zari user-guide-20150729
Zari user-guide-20150729Jinhyuk Lee
 
Zari introduction-150728
Zari introduction-150728Zari introduction-150728
Zari introduction-150728Jinhyuk Lee
 
H Labs - Zari Accommodation Platform (zari.me)
H Labs - Zari Accommodation Platform (zari.me)H Labs - Zari Accommodation Platform (zari.me)
H Labs - Zari Accommodation Platform (zari.me)Jinhyuk Lee
 
기술역량
기술역량기술역량
기술역량Jinhyuk Lee
 
9월 기술사항
9월 기술사항9월 기술사항
9월 기술사항Jinhyuk Lee
 
Flying beans 1st conference
Flying beans 1st conferenceFlying beans 1st conference
Flying beans 1st conferenceJinhyuk Lee
 

Más de Jinhyuk Lee (6)

Zari user-guide-20150729
Zari user-guide-20150729Zari user-guide-20150729
Zari user-guide-20150729
 
Zari introduction-150728
Zari introduction-150728Zari introduction-150728
Zari introduction-150728
 
H Labs - Zari Accommodation Platform (zari.me)
H Labs - Zari Accommodation Platform (zari.me)H Labs - Zari Accommodation Platform (zari.me)
H Labs - Zari Accommodation Platform (zari.me)
 
기술역량
기술역량기술역량
기술역량
 
9월 기술사항
9월 기술사항9월 기술사항
9월 기술사항
 
Flying beans 1st conference
Flying beans 1st conferenceFlying beans 1st conference
Flying beans 1st conference
 

Último

A future that integrates LLMs and LAMs (Symposium)
A future that integrates LLMs and LAMs (Symposium)A future that integrates LLMs and LAMs (Symposium)
A future that integrates LLMs and LAMs (Symposium)Tae Young Lee
 
Console API (Kitworks Team Study 백혜인 발표자료)
Console API (Kitworks Team Study 백혜인 발표자료)Console API (Kitworks Team Study 백혜인 발표자료)
Console API (Kitworks Team Study 백혜인 발표자료)Wonjun Hwang
 
MOODv2 : Masked Image Modeling for Out-of-Distribution Detection
MOODv2 : Masked Image Modeling for Out-of-Distribution DetectionMOODv2 : Masked Image Modeling for Out-of-Distribution Detection
MOODv2 : Masked Image Modeling for Out-of-Distribution DetectionKim Daeun
 
Continual Active Learning for Efficient Adaptation of Machine LearningModels ...
Continual Active Learning for Efficient Adaptation of Machine LearningModels ...Continual Active Learning for Efficient Adaptation of Machine LearningModels ...
Continual Active Learning for Efficient Adaptation of Machine LearningModels ...Kim Daeun
 
캐드앤그래픽스 2024년 5월호 목차
캐드앤그래픽스 2024년 5월호 목차캐드앤그래픽스 2024년 5월호 목차
캐드앤그래픽스 2024년 5월호 목차캐드앤그래픽스
 
Merge (Kitworks Team Study 이성수 발표자료 240426)
Merge (Kitworks Team Study 이성수 발표자료 240426)Merge (Kitworks Team Study 이성수 발표자료 240426)
Merge (Kitworks Team Study 이성수 발표자료 240426)Wonjun Hwang
 

Último (6)

A future that integrates LLMs and LAMs (Symposium)
A future that integrates LLMs and LAMs (Symposium)A future that integrates LLMs and LAMs (Symposium)
A future that integrates LLMs and LAMs (Symposium)
 
Console API (Kitworks Team Study 백혜인 발표자료)
Console API (Kitworks Team Study 백혜인 발표자료)Console API (Kitworks Team Study 백혜인 발표자료)
Console API (Kitworks Team Study 백혜인 발표자료)
 
MOODv2 : Masked Image Modeling for Out-of-Distribution Detection
MOODv2 : Masked Image Modeling for Out-of-Distribution DetectionMOODv2 : Masked Image Modeling for Out-of-Distribution Detection
MOODv2 : Masked Image Modeling for Out-of-Distribution Detection
 
Continual Active Learning for Efficient Adaptation of Machine LearningModels ...
Continual Active Learning for Efficient Adaptation of Machine LearningModels ...Continual Active Learning for Efficient Adaptation of Machine LearningModels ...
Continual Active Learning for Efficient Adaptation of Machine LearningModels ...
 
캐드앤그래픽스 2024년 5월호 목차
캐드앤그래픽스 2024년 5월호 목차캐드앤그래픽스 2024년 5월호 목차
캐드앤그래픽스 2024년 5월호 목차
 
Merge (Kitworks Team Study 이성수 발표자료 240426)
Merge (Kitworks Team Study 이성수 발표자료 240426)Merge (Kitworks Team Study 이성수 발표자료 240426)
Merge (Kitworks Team Study 이성수 발표자료 240426)
 

Java study 6th class

  • 1. Java Study 6th Class Math API
  • 2. 이해 API 응용 OOP 개념 문법 만들수있는가 없는가 조언자/전문가
  • 3.
  • 4. Java SE 는 가장 기본적인 API 를 포함EE, ME => Java SE + 개별 API
  • 5. Java 의 기본문법도 java.lang API 에 속함String, System, Thread
  • 6.
  • 7. API 보기 java.lang.Math Code : Math.abs(-200)Output : 200 static intabs(int a)           Returns the absolute value of an int value.
  • 8. API 보기 java.util.Random Code : new Random().nextInt(100);Output : 0~99 intnextInt() Returns the next pseudorandom, uniformly distributed int value from this random number generator's sequence. intnextInt(int n) Returns a pseudorandom, uniformly distributed int value between 0 (inclusive) and the specified value (exclusive), drawn from this random number generator's sequence.
  • 9. My Calculator 입력: (실수) (연산자) (실수) 3.14 * 2 = 6.14 14 + 5.3 = 19.3 2 ^ 5 = 32
  • 10. My Simple Calculator 공백을 기준으로 각 부분을 나눈다. 실수/연산자/실수 3개의 항목이 있는지 검사한다. 계산 가능하게 실수로 변환한다. (문자열+문자열) 연산자에 맞는 계산을 해서 결과값을 저장한다. 결과값을 출력한다. 3 + 15 13 compare 9
  • 11. My Simple Calculator 실수가 아닌 문자열을 넣어본다. > Number Format Exception 매우 큰 수를 어떻게 처리할 수 있을까? > BigDecimal API
  • 12.