Please enable JavaScript to use CodeHS

Arkansas Software Development

Class Creation

Students learn how to design and implement classes using principles of object-oriented programming. They explore encapsulation, access control, and the structure of classes with instance variables, constructors, and methods. Students write accessor and mutator methods, define behaviors using parameters and return values, and understand how object references are passed and returned.

Lessons

4.1 Abstraction and Program Design

  • Abstraction
  • Program Design
  • Abstraction and Program Design
  • Separating Responsibilities
  • Who Does What?
  • +3 more

4.2 Impact of Program Design

  • Impact of Program Design: System Reliability
  • Real World System Reliability Responses
  • Social, Economic, and Cultural Impacts
  • Drone Delivery: Potential Impact
  • Using Someone Else's Code
  • +1 more

4.3 Anatomy of a Class

  • Anatomy of a Class
  • Grade and School Consistency
  • Access Modifiers
  • Smart Lights
  • Encapsulation vs Abstraction

4.4 Constructors

  • Constructors (Part 1)
  • Constructors (Part 2)
  • Construct a Person
  • Constructors
  • Batting Average
  • +2 more

4.5 Methods: How to Write Them

  • Methods: How to Write Them
  • Triangle Class
  • Methods: How to Write Them
  • Distance Conversions

4.6 Scope and Access

  • Scope and Access
  • Variable Scope Explorer
  • Local Variables and Scope
  • Which Variables Exist?
  • Order Up

4.7 this Keyword

  • this Keyword
  • Cardboard Boxes
  • this Keyword
  • Song Class
  • Drone Tracking System

4.8 Accessor Methods

  • Accessor Methods
  • Quiz: Accessors
  • Student Getter Methods
  • SuperHero Class with Secret Identity
  • Add Some Getter Methods
  • +1 more

4.9 Mutator Methods

  • Mutator Methods
  • Quiz: Mutators
  • SuperHero Class with Mutator Methods
  • Student Setters
  • Rectangle class
  • +1 more

4.10 Module 4 Quiz

  • Module 4 Quiz

Courses that include this module