Advertisement

Interfaces and Lambda Expressions

  • Quentin Charatan
  • Aaron Kans
Chapter
Part of the Texts in Computer Science book series (TCS)

Abstract

By the end of this chapter students should be able to:

  • explain what is meant by the term interface in Java

  • create and use their own interfaces

  • implement inner classes and anonymous classes

  • explain the purpose and the importance of lambda expressions in Java

  • describe the syntax of lambda expressions, and utilize these expressions in a variety of contexts

  • create and use generic classes and interfaces

  • create generic classes and interfaces containing upper bounded parameters

  • utilize wildcards in conjunction with generic types

  • describe how a programming language can support polymorphic types

  • summarize the ways in which polymorphism can be achieved in Java.

Copyright information

© Springer Nature Switzerland AG 2019

Authors and Affiliations

  1. 1.University of East LondonLondonUK

Personalised recommendations