Practice with primitive types, objects, and methods in Java.
Your programming work for this assignment must be done in the
ObjectsAndMethods
project inside Eclipse. Use the
SVN Repository Exploring
perspective to check out this project, then switch back to the
Java
perspective.
UsingStrings.java
. Complete the TODO items listed in the
main()
method.
SomeTypes.java
. Complete the TODO items listed in the
main()
method.
FourRectanglePrinter.java
as follows:
Rectangle
object using the four random values generated for you. Store the object in a new variable named
box
.
System.out.println(box)
.
From BigJava, Exercise P2.3
WordGames.java
, completing each of the TODO items in the file. The UML class diagram for
String
in the session 2 slides gives all the methods that you will need.
We will grade your Wiki contributions using ANGEL. Turn-in your programming work by committing it to your SVN repository.