< Back
Page 11 of 11
This chapter is from the book
Exercises
To extend your knowledge of the subjects covered today, try the following exercises:
- Create a program that turns a birthday in MM/DD/YYYY format (such as 04/29/2016) into three individual strings.
- Create a class with instance variables for height, weight, and depth, making each an integer. Create a Java application that uses your new class, sets each of these values in an object, and displays the values.
Exercise solutions are offered on the book’s website at www.java21days.com.
< Back
Page 11 of 11