Skip to content

jolam2/Thingies

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

In Class exercise

  1. Fork and clone down this respository
  2. Open the Thingies folder in Sublime, or open Thingies.pde in Processing.
  3. Run the program. You should get an error message that says The field Thingy.myX is not visible because the client code in setup() is trying to access private member variables.
  4. Fix the program by
  • finishing the four setter and getter functions in Thingy.java
  • rewriting the client code in setup() to use the four setter and getter functions
  1. The finished program should print Distance between bob and mary is 56.568542
  2. Show your teacher the finished program.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Processing 63.8%
  • Java 36.2%