Lab 2

Object-Oriented Programming

Goals

  • Create Java programs using object-oriented programming (OOP)
  • Create and manage arrays to store dynamically changing data
  • Create a data analysis program and model different strategies for playing the card game Go Fish

Welcome to your second CSCI 151 lab! The lab can be started by following this link to create a copy of the assignment for you on GitHub Classroom by clicking on this link: https://classroom.github.com/a/iQ70z2Vb

In this week’s lab, we will be exploring object-oriented programming principles such as encapsulation and inheritance, exploring the use of arrays as a data structure, and continuing to refine our Java programming skills.

We will once again begin with a Warmup designed to help reinforce some of the key concepts needed to complete the lab assignment. You are strongly encouraged to work with a partner on the Warmup during the lab period.

As a friendly reminder, there is also lab helping available outside of your regularly scheduled lab time. A calendar and description can be found here. Please make use of the lab helping available as much or as little as you need; it is there to assist you as we learn together this semester. Please also feel free to reach out to your professor by email or stop by office hours with any questions.