Please enable JavaScript to use CodeHS

Arkansas Software Development

Using Objects and Methods

Students learn the fundamentals of writing and running Java programs, including how to use variables, data types, expressions, and input/output. They are also introduced to classes, and learn how to create objects and call methods, including those from built-in classes such as Math and String.

Lessons

2.1 Introduction to Algorithms, Programming, and Compilers

  • Introduction to Algorithms
  • Real World Algorithms
  • Basic Java Program Structure
  • Live Coding: The CodeHS IDE
  • Basic Program Structure and Print Statements
  • +7 more

2.2 Variables and Data Types

  • Variables and Primitive Data Types (Part 1)
  • Variables and Primitive Data Types (Part 2)
  • Voyager Mission in Variables
  • Variables and Primitive Data Types
  • Signature
  • +4 more

2.3 Expressions and Output

  • Literals and Escape Sequences
  • println and print
  • Literals and Escape Sequences
  • Arithmetic Expressions
  • How Many Gigs?
  • +4 more

2.4 Assignment Statements and Input

  • Assignment Statements
  • Pet Supplies Calculator
  • Assignment Statements
  • User Input
  • Years to Graduate
  • +4 more

2.5 Casting and Range of Variables

  • Casting
  • Casting Example
  • Casting Order of Operations
  • Casting
  • Movie Ratings
  • +2 more

2.6 Compound Assignment Operators

  • Compound Assignment Operators
  • Coffee Shop Rewards
  • Compound Assignment Summary
  • Compound Assignment Operators
  • Player Health

2.7 Application Program Interface (API) and Libraries

  • Application Program Interface and Libraries
  • Live Coding: Libraries and Methods
  • Libraries Are Wonderful
  • APIs and Libraries
  • Navigating an API
  • +3 more

2.8 Documentation with Comments

  • Documentation with Comments
  • Comments
  • Bank Account Comments
  • Comments for Debugging
  • Javadoc Comments
  • +5 more

2.9 Method Signatures

  • Method Signatures
  • Methods or No Methods
  • Parts Work
  • Methods
  • Houses
  • +2 more

2.10 Calling Class Methods

  • Calling Class Methods
  • Basic Calculator
  • Class Methods
  • Algebra I Calculator

2.11 Math Class

  • Math Class
  • Math Class Methods
  • Setting the Random Range
  • Geometry 101

2.12 Objects: Instances of Classes

  • Objects: Instances of Classes
  • Car Class
  • Objects: Instances of Classes
  • Many String Objects
  • Creating a Zoo, Part 1
  • +2 more

2.13 Object Creation and Storage (Instantiation)

  • Object Creation and Storage (Part 1)
  • Object Creation and Storage (Part 2)
  • Printing Objects
  • The Student Class
  • Object Creation
  • +1 more

2.14 Calling Instance Methods

  • Calling Instance Methods
  • Expanded Rectangle Class
  • Instance Methods
  • Smart Water Bottle

2.15 String Manipulation

  • String Concatenation
  • Museum Inventory
  • Concatenating Primitives
  • Concatenation
  • String Methods Introduction
  • +4 more

2.16 Module 2 Quiz

  • Module 2 Quiz

Courses that include this module