by Michael Thomas
by Michael Thomas
(under construction)
Objectives (topics)
Topic | Notes |
Wrapper classes | A wrapper is a class that contains data or an object of a
specific type and has the ability of performing special operations on the data or object.
Most common wrapper classes are for the primitives. Reasons for wrapper around the primitives:
Primitive and the Wrapper Class:
ex: Double MyDouble = new Double("10.5"); |
Examples | Converting Strings to Primitives
Converting Primitives to Strings
Instantiating Wrapper Classes
|