Skip to main content

Recently Updated Pages

L02

Intro to Java Lab Solutions

SodaCan.java /** * Constructor and methods for a soda can object * * @author Brandon * @vers...

Updated 10 months ago by Brandon Duke

L01

Intro to Java Lab Solutions

Test.java /** * Print the Answer to Life, the Universe, Everything. * * @author Brandon * @v...

Updated 10 months ago by Brandon Duke

L13 - Finite State Machines

Intro to Java Labs

Introduction – Making Change Finite State Machines(FSMs) are a method to organize a system of in...

Updated 10 months ago by Brandon Duke

L12 - Recursion Exercise

Intro to Java Labs

Part A – Fibonacci A recursive algorithm can be very fast. Sometimes it's the only solution to a ...

Updated 10 months ago by Brandon Duke

L11 - Designing Exception Types Lab

Intro to Java Labs

In this lab, we'll create our own exception class for the BankAccount class to handle the case wh...

Updated 10 months ago by Brandon Duke

L10 - Runtime Exceptions Lab

Intro to Java Labs

Runtime Exceptions Lab Using the lecture slides as a guide, In a new class, instantiate an array...

Updated 10 months ago by Brandon Duke

L09 - ReverseIt Lab

Intro to Java Labs

Write a program that reads in a file and writes each line backwards to an output file. Below is a...

Updated 10 months ago by Brandon Duke

L08 - Autopilot Interface Lab

Intro to Java Labs

In this lab, there is no main method, we are not running the code, just checking if it compiles w...

Updated 10 months ago by Brandon Duke

L07 - Shapes Lab

Intro to Java Labs

In this lab, we'll work with Abstract Classes. Start VS Code. During the lecture we discussed th...

Updated 10 months ago by Brandon Duke

L06 - Bank Account Lab

Intro to Java Labs

In this lab, we'll implement three classes: BankAccount, CheckingAccount, and BankAccountTest. As...

Updated 10 months ago by Brandon Duke

L05 - Using Arrays

Intro to Java Labs

Create a new class named UsingArrays. Using the lecture slides as a guide, declare and initializ...

Updated 10 months ago by Brandon Duke

L03 - Coupons

Intro to Java Labs

A supermarket awards coupons depending on how much a customer spends on groceries. For example, i...

Updated 10 months ago by Brandon Duke

L02 - Soda Can Lab

Intro to Java Labs

In this exercise, we're going to implement a class SodaCan. This class has a constructor that acc...

Updated 10 months ago by Brandon Duke

L01 - Visual Studio Code (VS Code) Lab

Intro to Java Labs

Install Visual Studio Code from FIRST, you will need their version with WPILib. Link In this exe...

Updated 10 months ago by Brandon Duke

Cheat Sheet

Intro to Java

Java Coding Standards Always include class documentation Class names start with upper-case lette...

Updated 10 months ago by Brandon Duke

Setup and Links

Intro to Java

You can view the lecture slides and lab files here. Class Materials

Updated 10 months ago by Brandon Duke