냥쟝
반응형

https://docs.oracle.com/en/java/javase/11/docs/api/index.html

 

Overview (Java SE 11 & JDK 11 )

This document is divided into two sections: Java SE The Java Platform, Standard Edition (Java SE) APIs define the core Java platform for general-purpose computing. These APIs are in modules whose names start with java. JDK The Java Development Kit (JDK) AP

docs.oracle.com

 

 

 

https://javakong.tistory.com/133

 

[13] 자바 문서 보는 법 & 자바의 구조 (클래스, 인스턴스, 상속)

API vs UI 컴퓨터를 사용하려 한다. 컴퓨터를 직접 다루기 어렵기 때문에, 컴퓨터에 운영체제(Windows, MacOS etc..)를 설치한다. 그리고 운영체제에 맞는 Java 프로그램을 설치하고, 자바를 이용해서 나

javakong.tistory.com

자바 문서를 보는 방법이 위 포스팅에 잘정리되어 있다

 

 

 

ex)System.out.println()
자바를 해봤으면 위의 메서드는 모두 사용해 봤을 것이다. 
System이라는 클래스에 out이라는 객체 안에 println이라는 메서드를 호출하는 형태로 구성되어 있다.
그렇다면 System.out.println()에 대한 API 문서를 확인해 보자.
 

 

java.lang이라는 패키지 안에 System이라는 클래스가 정의되어 있다.
out은 객체이기 때문에 field summary 부분에서 확인이 가능하다.
out이라는 변수의 데이터 타입은 PrintStream이고 PrintStream이라는 클래스를 담고 있다라는 뜻이다.
 PrintStream을 클릭하면 PrintStream 클래스에 관한 페이지로 넘어가며 아래로 내려가면 Method Summary에서 println()에 대한 정보를 찾을 수 있다.
 

https://docs.oracle.com/en/java/javase/11/docs/api/java.base/module-summary.html

 

java.base (Java SE 11 & JDK 11 )

Contains the collections framework, some internationalization support classes, a service loader, properties, random number generation, string parsing and scanning classes, base64 encoding and decoding, a bit array, and several miscellaneous utility classes

docs.oracle.com

자주쓰이는 메소드등을 볼 수 있다

 

 

profile

냥쟝

@냥쟝

포스팅이 좋았다면 "좋아요❤️" 또는 "구독👍🏻" 해주세요!