What do you want to save?
Add Code snippet
New code examples
-
Java 2022-01-26 01:25:16
why cant we have primitive types in generixs
//In java generics are implemented by using "Type erasure" for backward compatibility. All generic types are converted to Object at runtime. for example, public class Container<T> { private T data; public T getData() { r... Add solution