Simulating multiple inheritance and generics in Java

  • Authors:
  • Krishnaprasad Thirunarayan;GüNter Kniesel;Haripriyan Hampapuram

  • Affiliations:
  • Department of Computer Science and Engineering, Wright State University, Dayton, OH-45435, USA;Computer Science Department III, University of Bonn, D-53117 Bonn, Germany;Intrinsa Corporation, Mountain View, CA-94041, USA

  • Venue:
  • Computer Languages
  • Year:
  • 1999

Quantified Score

Hi-index 0.00

Visualization

Abstract

This paper presents Java language from an object-oriented software construction perspective. It explains the implications of banning generics and multiple inheritance of classes, and explores the patterns and the idioms used by the Java designers and programmers to redeem their benefits. The paper also discusses an alternative to multiple inheritance, as incorporated in Lava, which extends Java with constructs for type-safe automatic forwarding.