[Java] 자료형 변환
Dealing with nulls UtilFactory.convertNull Java – comparing strings Use == for primitive data types like int If (mystring == null) Use the equals() method to compare objects Use .equals for strings : if (a.equals(“cat”)) Java - Converting int to string String myString = Integer.toString(my int value) or String str = "" + i Java - Converting String to int int i = Integer.parseInt(str); orint i = ..
Development
2011. 4. 1. 17:59
최근에 올라온 글
글 보관함
- Total
- Today
- Yesterday