Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 29 | 30 |
Tags
- object
- chunked
- Content-Length
- singleton
- http/1.1
- http
- toString
- unmodifiableList
- reflection
- getRequestURI
- InvocationHandler
- Java
- Transfer-Encoding
- Reference
- Proxy
- cookie
- urlclassloader
- Keep-Alive
- Session
- clone
Archives
- Today
- Total
목록JAVA (11)
pungjoo
reference VS value
들어가면서 자바에서 call by reference일까요 call by value일까요? 예제 소스 1 public class CBRTest { 2 3 static void change(StringBuffer r) { 4 r.delete(0, 1); 5 r.append("10"); 6 } 7 8 static void change2(StringBuffer r) { 9 r = new StringBuffer("15"); 10 } 11 public static void main(String [] args) { 12 StringBuffer s = new StringBuffer("5"); 13 System.out.println(s); 14 change(s); 15 System.out.println(s); 16 ch..
JAVA
2007. 2. 7. 15:39