Title: Module 3 - Using Classes and Objects
Course: COP 2551 Intro to Object Oriented Prog > Section: Module 3 - Using Classes and Objects

Introduction

In this module, you will continue to explore the predefined Java classes and the objects you can create using them. Programmers and developers frequently use classes and objects for the services they provide. This is a basic principle of object-oriented software development and helps you learn how to write your own classes.

Also in this module, you will explore the concept of immutability as it applies to Strings. You will use classes and objects to create new character strings from existing strings, generate random numbers, perform complex calculations, and format output. Wrapper classes are introduced, showing the relationship between a primitive data type and how it can be represented as an object.

Objectives

Upon completion of this module, the student will be able to:

- Explore the creation of objects and the use of object reference variables.
- Explore the services provided by the String, Random, and Math classes.
- Explore the Java API and how the Java standard class library is organized into packages.
- Discuss wrapper classes and the concept of autoboxing.
- Examine ways to format output using the NumberFormat and DecimalFormat classes.

Readings & Resources

Chapter 3, Sections 1 - 8 Java Software Solutions: Foundations of Program Design, 8^th Ed., John Lewis and William Loftus.

Assignments and Activities

- Begin research for the Discussion Question in Module 6
- Complete the Module 3 Ungraded Activities
- Complete the Module 3 Quiz
- Begin Programming Project 2
- Submit Programming Project 1