영어 공부/기타

프로그래밍 영어 공부 - 자바 - java.lang.String 클래스 4

manwon 2016. 4. 4. 17:37
반응형


※ String 클래스 [원문]

 

The Java language provides special support for the string concatenation operator (+), and for conversion of other objects to strings. String concatenation is implemented through the StringBuilder(or StringBuffer) class and its append method. String conversions are implemented through the method toString, defined by Object and inherited by all classes in Java. For additional information on string concatenation and conversion, see Gosling, Joy, and Steele, The Java Language Specification.


자바 언어는 문자열 연결 연산자 (+)와, 다른 객체에서 문자열로의 전환을 특별히 지원한다. 문자열 연결은 StringBuilder나 StringBuffer 클래스와 그 클래스의 append 메서드를 통해서 구현된다. (다른 객체에서) 문자열로의 전환은, Object 클래스에 정의되어 있고 자바의 모든 클래스에 상속된 toString 메서드를 통해서 구현된다. 문자열 연결과 전환에 관한 추가적인 정보를 얻고 싶다면 고슬링, 조이, 스틸레의 자바 랭귀지 설명서를 참조해라.


[참고] java api문서를 번역하면서 개인적으로 공부하는 포스팅입니다. 시간이 날 때마다 3~5문장씩 올릴 예정입니다. 잘못된 번역이나 이해가 있을 수 있습니다. 그런 것들은 댓글로 알려주시면 감사하겠습니다. 우리말로 이해하기 쉽도록 문장은 될 수 있는 대로 의역을 했습니다.

 

반응형