September 2005
Beginner
576 pages
13h 6m
English
One of the most common tasks you'll need to accomplish in Java is to convert information from one form into another. There are several types of conversions you can do:
Converting an object into another object
Converting a simple variable into another type of variable
Using an object to create a simple variable
Using a simple variable to create an object
Simple variables are the basic data types you learned about during Hour 5, “Storing and Changing Information in a Program.” These types include int, float, char, long, and double.
When using a method or an expression in a program, you must use the right type of information that's expected by these methods and expressions. A method that expects a Calendar object ...
Read now
Unlock full access