Practice with primitive types, objects, and methods in Java.
In Eclipse, checkout the ObjectsAndMethods
project.
SVN Repositories
view to check out this project. SomeTypes.java
, completing each of 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
StringPractice.java
, completing each of the TODO items in the file.
String
in the session 2 slides gives all the String methods that you will need. Remember, in all your code:
Here is the grading rubric for this assignment.
Turn-in your programming work by committing it to your SVN repository.