Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
This document from the cmsc 131 fall 2008 course covers the concepts of polymorphism, wrappers, and interfaces in java. It explains how java provides wrappers for primitive types to enable the use of generic routines and interfaces. The document also discusses the importance of code re-use and polymorphism in object-oriented programming. An example is given of implementing a method using the integer class and adapting cat to implement the comparable interface.
Typology: Study notes
1 / 4
Copyright © 2024 Ladybird Srl - Via Leonardo da Vinci 16, 10126, Torino, Italy - VAT 10816460017 - All rights reserved