Skip to content

chloeb777/Doodads

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Doodads

Doodads Repository

Practice

  1. Fork and clone down this respository
  2. Open Doodads.pde in Processing.
  3. Run the program. You should get an error message that says The field Doodad.myNum is not visible because the client code in setup() is trying to access a private member variable.
  4. Fix the program by
    • finishing the two setter and getter functions in Doodad.java
    • rewriting the client code in setup() to use the two setter and getter functions
  5. The finished program should print Sum is 5.859870195388794
  6. Edit the files in Github to reflect the working version.

About

Doodads Repository

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Processing 51.6%
  • Java 48.4%