Generics add stability to your code by making more of your bugs detectable at compile time. – Oracle Javadoc compile time에서 버그를 감지해서 코드 안정성을 높여준다. 무슨 말인지 조금 더 이해를 해보기 위해 generics가 없다고 생각하고 소스를 구현해보자. (jdk 1.5 이전에는 없었다.)public Object method(Object obj) { return obj;}public void execute() { String str1 = (String) method("this is test"); String str2 = (String) method(1234);} 당연히 java.lang.ClassN..