강의

멘토링

커뮤니티

Inflearn Community Q&A

voyagezlegersein9456's profile image
voyagezlegersein9456

asked

Introduction to Java Algorithm Problem Solving: Coding Test Preparation

3. Words in a Sentence (indexOf(), substring())

int m = Integer.MIN_VALUE, pos; 가 이해가 잘 안돼요 선생님

Written on

·

642

0

int a, b = 5; 라고 두가지 변수에 같은 값을 동시에 넣는 것은 본적이 있는데요.

m이라는 변수에 두가지 값을 동시에 넣는 거로 해석이 돼서 이해가 안 갑니다

java코테 준비 같이 해요!

Answer 1

1

codingcamp님의 프로필 이미지
codingcamp
Instructor

안녕하세요^^

int a=5, b; 이렇게 선언한 것이라 생각하면 됩니다.

Integer.MIN_VALUE 는 변수가 아니라 상수값입니다.

voyagezlegersein9456's profile image
voyagezlegersein9456

asked

Ask a question