Notice
Recent Posts
Recent Comments
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- solution
- 0x
- Get
- php
- 현재언어
- 강좌
- 월별 카운트
- Post
- 점점변하는값
- SQL
- halliday
- 하이퍼 터미널
- array
- mysql
- mathemetica
- selectc
- Java
- Call
- android studio
- is_array
- unalias
- 단축키
- PORTG
- Join
- cocos2d-x
- C++
- application.mk
- 파일존재
- function
- Avr
Archives
- Today
- Total
목록string (1)
코딩도사의 코드정리
java string int 형변환
public static String valueOf(int i) 매개변수 int형의 변수 i를 받아서 String형의 인스턴스를 반환한다. Integer.toString()에 의해서 반환되는 값과 동일하다. 위의 두 메소드만 알면 String과 int형 사이에서의 형 변환은 쉽게 할 수 있다. public class ParseExam { public static void main(String[] args) { String numStr = "54"; // String값을 int형의 값으로 바꾸는 방법 int numInt = Integer.parseInt(numStr); System.out.println(numInt); // int형의 값을 String으로 바꾸는 방법 String numStr2 = Stri..
컴퓨터 이야기/JAVA
2015. 12. 15. 02:09