wrapper classes for other primitive types

wrapper classes for other primitive types - short: Short...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Other wrapper classes Each primitive type has a corresponding wrapper class, which wraps a value of that type and provides constants and functions dealing with that primitive type. We do not go into detail here. Look at the API specs on the web or the ProgramLive CD, page 5-1, for a list of constants and functions for the wrapper classes for the numerical primitive types, which are: byte: Byte
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: short: Short int: Integer long: Long float: Float double: Double For similar information for these wrapper classes: char: Character boolean: Boolean look at the API specs on the web or the ProgramLive CD, page 5-2. Class Character has functions for converting between lower-case and upper-case, for testing whether a character is a digit, letter, or whitespace, and so on....
View Full Document

Ask a homework question - tutors are online