Labs

1-Day In-Class Assignments

Two-Dimensional Arrays Lab

Two di-men., too dimensional to flatten…

Generics Lab

You have been using generics for some time… it’s time to create your own classes with generic parameters…

Collections Lab

Recursive Structures Lab

Interfaces Lab

Polymorphism in Java via Interfaces.

Inheritance Lab

Specialization in Java with Inheritance.

File I/O Lab

Work with file I/O in Java.

References

Work with references and arrays.

JUnit and EclEmma in Eclipse

Test your understanding of testing 😆. How to cover the implementation, considering the confidence afforded by coverage.

Unit Testing Lab

What if I needed more forEquals methods than the Test class provides? Wanted a better summary of successes and failures? Wanted to measure how much of an implementation I’m testing?

Enum Lab

Imagine classes, but where the authors have predetermined all the instances that will ever exist.

Debugger Lab

Work with your IDE’s debugger to find and fix errors in your code.

Arrays Lab

Work with a random number generator to explore arrays, iteration, and decision making.

Decisions

Classes in Java and their representation in UML.

Classes and UML Lab

Classes in Java and their representation in UML.

Eclipse Lab

Verify your checkstyle and formatters are all setup correctly and that you know how to submit to Gradescope.