Joshua Hester is a content developer for Kaplan IT Learning and a certified trainer for Microsoft and Certified Internet Webmaster pro- grams. He has written, talked, taught, and breathed code for more than 15 years. After mastering BASIC with a Commodore 64 and pushing his website development on people throughout college, he has now evolved into Java Structs, the Microsoft 4 Framework, and other Web 2.0 technologies.
Mr. Hester is a certified Project Management Professional, Linux Professional, and Microsoft Office Specialist; he also holds certifica- tions for A+, Linux+, Network+, and i-Net+. He earned a bachelor of arts in English from Colgate University and is currently pursuing a masters of education in instructional technology from Kaplan University. Besides looking for more certifications, he’s an avid runner and gamer and enjoys biking, hiking, and solving the odd logic puzzle.
Copyright © 2013 by Penn Foster, Inc.
All rights reserved. No part of the material protected by this copyright may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying, recording, or by any information storage and retrieval system, without permission in writing from the copyright owner.
Requests for permission to make copies of any part of the work should be mailed to Copyright Permissions, Penn Foster, 925 Oak Street, Scranton, Pennsylvania 18515.
Printed in the United States of America
All terms mentioned in this text that are known to be trademarks or service marks have been appropriately capitalized. Use of a term in this text should not be regarded as affecting the validity of any trademark or service mark.
INSTRUCTIONS TO STUDENTS 1
LESSON ASSIGNMENTS 5
LESSON 1: INTRODUCTION TO THE JAVA LANGUAGE 7
GRADED PROJECT—LESSON 1 29
LESSON 2: DATA TYPES AND PROGRAM CONTROL 33
GRADED PROJECT—LESSON 2 71
LESSON 3: OBJECT- ORIENTED PROGRAMMING 79
GRADED PROJECT—LESSON 3 133
LESSON 4: ADVANCED PROGRAMMING LOGIC 141
GRADED PROJECT—LESSON 4 165
LESSON 5: GRAPHICAL USER INTERFACE DESIGN 169
GRADED PROJECT—LESSON 5 195