Now through Dec. 7, save 40-55% on books & eBooks. Use code BOOKSGIVING during checkout. Shop now.
Additional sample videos, individual lessons and other formats are available here.
Register your product to gain access to bonus material or receive a coupon.
Lesson 6: Methods—A Deeper Look
static Methods, static Fields and Class Math
Programmer-declared method maximum with three double parameters
Argument Promotion and Casting
Java API Packages
Shifted and scaled random integers
Roll a six-sided die 6,000,000 times
Craps class simulates the dice game craps
Scope class demonstrates field and local-variable scopes
Overloaded method declarations