숫자 Numbers
이 섹션은 (java.lang 패키지 안의) 클래스 Number와 그 하위클래스에 대한 논의로 시작합니다. 특히 이 섹션에서는 이러한 원시 데이터타입이 아닌 이들 클래스들의 인스턴스화를 사용할 상황에 대해 이야기합니다. 또한 이 섹션에서는 연산자가 언어로 구축되어 들어가도록 하는 수학 함수의 포맷팅 및 사용과 같은, 숫자와 작업하는데 필요할 수있는 다른 클래스에 대해 이야기합니다. 마지막으로, 오토박싱과 언박싱, 코드를 단순화하는 컴파일러 기능에 대한 논의를 합니다.
This section begins with a discussion of the Number
class (in the java.lang
package) and its subclasses. In particular, this section talks about the situations where you would use instantiations of these classes rather than the primitive data types. Additionally, this section talks about other classes you might need to work with numbers, such as formatting or using mathematical functions to complement the operators built into the language. Finally, there is a discussion on autoboxing and unboxing, a compiler feature that simplifies your code.
문자 Strings
자바 프로그래밍에서 널리 사용되는 문자는 일련의 글자입니다. 자바 프로그래밍 언어에서 문자는 객체입니다. 이 섹션은 문자를 생성하고 조작하기 위한 클래스 String 사용을 설명합니다. 이것은 또한 클래스 String와 StringBuilder를 비교합니다.
Strings, which are widely used in Java programming, are a sequence of characters. In the Java programming language, strings are objects. This section describes using the String
class to create and manipulate strings. It also compares the String
and StringBuilder
classes.
'Java 배우기' 카테고리의 다른 글
The Numbers Classes 숫자 클래스들 (0) | 2016.01.05 |
---|---|
Numbers 숫자 (0) | 2016.01.05 |
Questions and Exercises: Inheritance 질문과 연습: 상속 (0) | 2016.01.05 |
Summary of Inheritance 상속 요약 (0) | 2016.01.05 |
Abstract Methods and Classes 추상적 메소드와 클래스 (0) | 2016.01.05 |
댓글