링크 : http://blog.hazard.kr/114

'Java > Jsp' 카테고리의 다른 글

[Jsp] 간단하게 Excel 출력하기  (0) 2012.07.27
[Jsp] Java EL 개요  (0) 2012.02.22
[Jsp] Java Custom Tag  (0) 2012.02.09
[Jsp] JSTL <c:forEach></c:forEach> 반복처리  (0) 2011.11.07
[JSP] 물리적 경로를 웹상의 상대 경로로 변환  (0) 2011.08.23
posted by 뚱2

[Java] Class<?> 의 의미?

Java/Java 2013. 1. 21. 11:18

링크 : http://docs.oracle.com/javase/tutorial/java/generics/wildcards.html 

 

 

Wildcards

In generic code, the question mark (?), called the wildcard, represents an unknown type. The wildcard can be used in a variety of situations: as the type of a parameter, field, or local variable; sometimes as a return type (though it is better programming practice to be more specific). The wildcard is never used as a type argument for a generic method invocation, a generic class instance creation, or a supertype.

The following sections discuss wildcards in more detail, including upper bounded wildcards, lower bounded wildcards, and wildcard capture.

'Java > Java' 카테고리의 다른 글

[Java] JDK Download  (0) 2013.04.02
[Java] Creating Custom Annotations and Using Them  (0) 2013.01.21
[Java] JConsole 연결 옵션  (0) 2013.01.05
[Java] Java 모니터링 툴 VisualVM Download  (0) 2012.12.28
[java] Heap Memory Size 구하기  (0) 2012.12.26
posted by 뚱2
아이폰 Static Library를 사용하려고 찾다가 읽어보니 프로젝트 개발시

도움이 될것 같아 링크 걸어둡니다.

출처 : http://blog.jidolstar.com/749 
posted by 뚱2

C, C++는 파일을 작성할때는

보통 헤더파일에는 선언

구현파일에는 정의를 많이 넣는데요

템플릿을 사용할때는 헤더와 정의를 헤더파일에 넣어야 합니다.

이유인즉슨 컴파일 과정에서 템플릿의 정의부분이 필요하기 때문입니다.


ps. 한파일에 넣지 않고 하는 방법도 있다고 하는데 가장 손쉬은 방법은

      헤더에 다 작성하는 방법입니다.
posted by 뚱2