Java 배우기145 Bitwise and Bit Shift Operators Bitwise and Bit Shift Operators Java 프로그래밍 언어는 또한 정수 타입 위에서 bitwise 및 bit shift 운영을 수행하는 운영자를 제공합니다. 이 섹션에서 논의된 운영자들은 많이 사용되지 않습니다.따라서 their coverage는 간단합니다; 이러한 운영자들이 존재한다는 것을 가볍게 인식시키고자 합니다. The Java programming language also provides operators that perform bitwise and bit shift operations on integral types. The operators discussed in this section are less commonly used. Therefore, their cover.. 2016. 1. 5. Equality, Relational, and Conditional Operators Equality, Relational, and Conditional OperatorsThe Equality and Relational OperatorsThe equality and relational operators determine if one operand is greater than, less than, equal to, or not equal to another operand. The majority of these operators will probably look familiar to you as well. Keep in mind that you must use "==", not "=", when testing if two primitive values are equal.== equal to.. 2016. 1. 5. Assignment, Arithmetic, and Unary Operators Assignment, Arithmetic, and Unary OperatorsThe Simple Assignment Operator 마주치게 되는 가장 보편적인 연산자 중 하나는 간단한 assignment 연산자인 "=" 입니다. 이미 클래스 Bicycle에서 이 연산자를 본 적이 있습니다; 이 연산자의 오른 쪽의 값을 왼 쪽의 피연산자(operand) 에게 할당합니다: One of the most common operators that you'll encounter is the simple assignment operator "=". You saw this operator in the Bicycle class; it assigns the value on its right to the operand on.. 2016. 1. 5. Operators 연산자 연산자 Operators 변수를 선언하고 초기화하는 방법을 배우고 나면, 변수로 무엇인가를 하는 방법을 알고 싶을 것입니다. 자바 프로그램 언어의 연산자를 배우는 것은 학습을 시작하기 좋은 곳입니다. 연산자는 1개, 2개 또는 3개의 피연산자(operands) 에 대해 특정한 동작을 수행한 다음, 그 결과를 반환하는 특수 기호입니다. Now that you've learned how to declare and initialize variables, you probably want to know how to do something with them. Learning the operators of the Java programming language is a good place to start. Operat.. 2016. 1. 5. Summary of Variables 변수 요약 변수 요약 Summary of Variables 자바 프로그래밍 언어는 그 용어의 일부로 "필드"와 "변수"를 사용합니다. 인스턴스 변수(non-static fields)는 클래스의 각각의 인스턴스에서 유일합니다. 클래스 변수(static fields)는 static modifier로 선언되는 필드입니다; 클래스가 인스턴스화된 횟수와 관계없이 정확히 1개의 클래스 변수 복사본 만이 있습니다. 로컬 변수는 메소드 안에 임시적 상태(temporary state)를 저장합니다. The Java programming language uses both "fields" and "variables" as part of its terminology. Instance variables (non-static fields).. 2016. 1. 5. Arrays 배열 배열 Arrays 배열(array)은 한 가지 타입의 고정된 갯수의 값을 보유하고 있는 container 객체입니다. 배열의 길이(length)는 배열이 생성될 때 정해집니다. 생성되고 나면 배열의 길이는 고정됩니다. 이러한 배열은 애플리케이션 "Hello World!"의 메소드 main 안에서 이미 본 적이 있습니다. 이 섹션에서 배열을 보다 상세하게 논의합니다.An array is a container object that holds a fixed number of values of a single type. The length of an array is established when the array is created. After creation, its length is fixed. You ha.. 2016. 1. 5. 이전 1 ··· 18 19 20 21 22 23 24 25 다음