CS 240: Lecture 2 – Generics Lab
Today we will devote our entire time together to a lab on generic programming in Java. Find the lab on the schedule on the main Canvas page. Follow these guidelines:
- You may work with one other person. If there’s an odd number of people, one group of three is permitted.
- Complete the lab using a single computer. Take turns at the keyboard. Talk to each other.
- When you have completed the lab, zip up just the required source files. IntelliJ doesn’t have a feature for this. Right-click on your source folder, open the folder in your file explorer, and use your operating system’s archiving tools to make the zip file.
- In the IntelliJ settings, visit Plugins, install Checkstyle-IDEA, and click Apply.
- Find the Checkstyle-IDEA settings and enable the Google style rules. In the Problems tab, verify that all Checkstyle violations are fixed.
- Upload the lab to Autolab. Accounts have already been made for you, but you will need to set a password. Your Autolab accounts are not tied to your JMU accounts in any way.
- Run the Autolab tests as often as you’d like.
Ask lots of questions. I am new to this too, and we can find the answers somehow.
- Submit the lab before Monday at 11 PM.
- Read 4.04, 6.01, 6.02, and 6.03 in OpenDSA.
- Complete the Slack quiz.
See you next time.