Practice with primitive types, objects, and methods in Java.
A note on Big Java: Big Java is, well, big. Much of the information in the first few chapters might be review to some students. Please feel free to skim sections that are review, but make it a habit to do the assigned reading. As we move past the first chapters, more of the material will be completely new.
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.