Genre: eLearning | Language: English
Generic Method, Generic Container, Java Parametric Polymorphism, Object Class in Java, Java Generics
Generics are a facility of generic programming that were added to the Java programming language in 2004 within the official version J2SE 5.0. They extend Java's type system to allow “a type or method to operate on objects of various types while providing compile-time type safety.” In particular, the Java collections framework supports generics to specify the type of objects stored in a collection instance.
This mini-course is designed as a supplemental materials for the Java Object-Oriented Programming: AP Computer Science B. In this mini-course, we will be based on Java 8 SE.
What is Polymorphism?
What is parametric polymorphism (Generics)?
Define Generic Class and Generic Interface
This course is a mini-course, it is not designed to be a complete educational course. It is focused on a single topic: Java Generics.