1. What is Generic type ? Junior A. the guideline producer-extends-consumer-super for choosing between an upper-bounded and a lower-bounded wildcard B. the process by which the compiler removes generic type information at runtime, leaving raw types for backward compatibility C. a type parameter restricted with extends to a supertype, such as <T extends Number>, limiting the allowed arguments D. a class or interface parameterized over a type, like List<String>, that provides compile-time type safety Answer + AI explanation with Pro
2. Which term means: "a class or interface parameterized over a type, like List<String>, that provides compile-time type safety"? Junior A. Generic type B. Wildcard C. PECS principle D. Type erasure Answer + AI explanation with Pro
3. Which statement is correct? Junior A. Generic type — a class or interface parameterized over a type, like List<String>, that provides compile-time type safety B. Generic type — a type parameter restricted with extends to a supertype, such as <T extends Number>, limiting the allowed arguments C. Generic type — the process by which the compiler removes generic type information at runtime, leaving raw types for backward compatibility D. Generic type — the ? token used in a parameterized type to represent an unknown type, as in List<?> Answer + AI explanation with Pro
4. What is Type erasure ? Mid A. the process by which the compiler removes generic type information at runtime, leaving raw types for backward compatibility B. a class or interface parameterized over a type, like List<String>, that provides compile-time type safety C. a type parameter restricted with extends to a supertype, such as <T extends Number>, limiting the allowed arguments D. the ? token used in a parameterized type to represent an unknown type, as in List<?> Answer + AI explanation with Pro
5. Which term means: "the process by which the compiler removes generic type information at runtime, leaving raw types for backward compatibility"? Mid A. Bounded type parameter B. Generic type C. Type erasure D. Wildcard Answer + AI explanation with Pro
6. Which statement is correct? Mid A. Type erasure — the guideline producer-extends-consumer-super for choosing between an upper-bounded and a lower-bounded wildcard B. Type erasure — the process by which the compiler removes generic type information at runtime, leaving raw types for backward compatibility C. Type erasure — a type parameter restricted with extends to a supertype, such as <T extends Number>, limiting the allowed arguments D. Type erasure — a class or interface parameterized over a type, like List<String>, that provides compile-time type safety Answer + AI explanation with Pro
7. What is Bounded type parameter ? Mid A. a type parameter restricted with extends to a supertype, such as <T extends Number>, limiting the allowed arguments B. the ? token used in a parameterized type to represent an unknown type, as in List<?> C. the guideline producer-extends-consumer-super for choosing between an upper-bounded and a lower-bounded wildcard D. a class or interface parameterized over a type, like List<String>, that provides compile-time type safety Answer + AI explanation with Pro
8. Which term means: "a type parameter restricted with extends to a supertype, such as <T extends Number>, limiting the allowed arguments"? Mid A. Generic type B. Wildcard C. PECS principle D. Bounded type parameter Answer + AI explanation with Pro
9. Which statement is correct? Mid A. Bounded type parameter — a type parameter restricted with extends to a supertype, such as <T extends Number>, limiting the allowed arguments B. Bounded type parameter — the guideline producer-extends-consumer-super for choosing between an upper-bounded and a lower-bounded wildcard C. Bounded type parameter — the ? token used in a parameterized type to represent an unknown type, as in List<?> D. Bounded type parameter — a class or interface parameterized over a type, like List<String>, that provides compile-time type safety Answer + AI explanation with Pro
10. What is Wildcard ? Senior A. a type parameter restricted with extends to a supertype, such as <T extends Number>, limiting the allowed arguments B. the guideline producer-extends-consumer-super for choosing between an upper-bounded and a lower-bounded wildcard C. the process by which the compiler removes generic type information at runtime, leaving raw types for backward compatibility D. the ? token used in a parameterized type to represent an unknown type, as in List<?> Answer + AI explanation with Pro
11. Which term means: "the ? token used in a parameterized type to represent an unknown type, as in List<?>"? Senior A. Type erasure B. Wildcard C. Generic type D. Bounded type parameter Answer + AI explanation with Pro
12. Which statement is correct? Senior A. Wildcard — the process by which the compiler removes generic type information at runtime, leaving raw types for backward compatibility B. Wildcard — the guideline producer-extends-consumer-super for choosing between an upper-bounded and a lower-bounded wildcard C. Wildcard — a class or interface parameterized over a type, like List<String>, that provides compile-time type safety D. Wildcard — the ? token used in a parameterized type to represent an unknown type, as in List<?> Answer + AI explanation with Pro
13. What is PECS principle ? Senior A. a type parameter restricted with extends to a supertype, such as <T extends Number>, limiting the allowed arguments B. the process by which the compiler removes generic type information at runtime, leaving raw types for backward compatibility C. the ? token used in a parameterized type to represent an unknown type, as in List<?> D. the guideline producer-extends-consumer-super for choosing between an upper-bounded and a lower-bounded wildcard Answer + AI explanation with Pro
14. Which term means: "the guideline producer-extends-consumer-super for choosing between an upper-bounded and a lower-bounded wildcard"? Senior A. Wildcard B. PECS principle C. Generic type D. Bounded type parameter Answer + AI explanation with Pro
15. Which statement is correct? Senior A. PECS principle — the guideline producer-extends-consumer-super for choosing between an upper-bounded and a lower-bounded wildcard B. PECS principle — the process by which the compiler removes generic type information at runtime, leaving raw types for backward compatibility C. PECS principle — the ? token used in a parameterized type to represent an unknown type, as in List<?> D. PECS principle — a class or interface parameterized over a type, like List<String>, that provides compile-time type safety Answer + AI explanation with Pro